Skip to content

Migrate the markdown documentation to MDBook - #1

Open
beastr45 wants to merge 4 commits into
ASIC-Network:mainfrom
beastr45:main
Open

Migrate the markdown documentation to MDBook#1
beastr45 wants to merge 4 commits into
ASIC-Network:mainfrom
beastr45:main

Conversation

@beastr45

Copy link
Copy Markdown

Hey Avi can you review how the docs in this commit look? Here is the github pages output: https://beastr45.github.io/analog-tutorials/welcome.html

I migrated the documentation of the analog tutorials to MDBook as a test run so I havent migrated the digital tutorials docs. I think that mdbook is way easier to use plus is more mature and stable compared to the claude formatting code. All you have to do is update SUMMARY.md to add new chapters and the rest is automatic.

Now the book content and html and theming are fully decoupled, there is no html or web source code in this repo anymore. Before we migrate the docs to we will want need make a submodule on the ASIC network github used for storing site wide docs theming. I don't have access to make that however. Updating the theming will no longer require commits in each documentation repo.

I didn't really mess around too much with the css styling, just enough to acheive visual parity with the website because the mdbook defaults are pretty good. May want to ask claude to fix a few things in the theme repo though.

beastr45 and others added 4 commits August 11, 2026 22:05
Replaces the hand-rolled client-side markdown renderer with mdBook:
build-time CommonMark parsing, SUMMARY.md as an explicit manifest
(replaces implicit page_N.md numbering), plain relative markdown
links between chapters (replaces the page_N.md -> #page_N hash
rewrite hack), and the shared visual theme pulled in as a git
submodule instead of a locally-duplicated copy of app.js/style.css.
update the submodules to point to a public repo and not a file on my computer.
This workflow builds and deploys an mdBook site to GitHub Pages on pushes to the main branch.

remove old deploy script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant