Mirror the Notion manual
These scripts mirror the Nomadium Notion docs into docs/manual/. If Nomadium updates a
page, run the scripts again.
- Open the Notion page in the Playwright MCP browser.
- Wait until the page renders.
- Run
notion2md.jswithbrowser_evaluate. The result has padding, so it goes into a tool-results file and not into the conversation. - Run
uv run --no-project python tools/notion_postprocess.py <tool-results-file> docs/manual/<name>.md. This script unwraps the markdown. It downloads all the images intodocs/manual/images/<name>/. Before each document had its own images folder, the main manual used a flatimages/folder. - Run
uv run --no-project python tools/notion_polish.py docs/manual/<name>.md. This script removes the bold from the headings, promotes the heading levels and corrects the list spacing.
Source: tools/README.md in the repo. Edit it there; this page is generated.
Comments
Comment on the whole page here, or on one section or step with the button beside it.