Skip to content

Import microkit manual automatically #332

Open
lsf37 wants to merge 3 commits intomasterfrom
microkit-manual
Open

Import microkit manual automatically #332
lsf37 wants to merge 3 commits intomasterfrom
microkit-manual

Conversation

@lsf37
Copy link
Copy Markdown
Member

@lsf37 lsf37 commented Apr 1, 2026

Add a python script that automatically transforms manual.md from _repos/sel4/microkit into the corresponding docsite version (removing LaTeX, switching to svg, adding docsite front matter). Also copy over diagram, adjust symlink, and build PDF.

Very ad hoc and full of assumptions about manual.md, but better than doing these steps manually each time.

Also has an option to create a dev version of the manual, but so far unused.

In a future PR, we could add that to the Makefile for the default build so that it updates automatically. Mostly need to think about where to link it from. Maybe then is also the time for a drop-down somewhere that chooses the version of the manual to view.

@lsf37 lsf37 requested a review from Ivan-Velickovic April 1, 2026 08:27
@lsf37
Copy link
Copy Markdown
Member Author

lsf37 commented Apr 1, 2026

The current v2.2.0 manual was produced with an earlier version of this script and I checked that the 2.1.0 import is identical. 2.0.1 has a small diff for heading links, but I think we introduced those manually.

lsf37 added 3 commits April 1, 2026 19:30
Read manual.md from _repos/sel4/microkit and transform into docsite
version. Also copy over diagram, adjust symlink, and build PDF.

Very ad hoc and full of assumptions about manual.md, but better than
doing these steps manually each time.

Also has an option to create a dev version of the manual, but so far
unused.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
The other versions use a `v` prefix. Add here as well.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
@lsf37 lsf37 force-pushed the microkit-manual branch from 91480c0 to 3eb48c3 Compare April 1, 2026 08:32
@lsf37 lsf37 linked an issue Apr 1, 2026 that may be closed by this pull request
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.

Automate web changes for Microkit manual

1 participant