Skip to content

Publishing the GitHub Wiki

github-actions[bot] edited this page Dec 6, 2026 · 1 revision

Wiki Structure

  • Group Markdown pages in section directories under .wiki. Give each page a unique first-level title across the manual so it has a distinct GitHub Wiki URL.
  • Keep the Blueprint User Manual as the central overview. Use second-level section headings with short, descriptive indexes of the main topics. Keep complete lists of pages and subsection links in the separate section indexes.
  • List every topic page in its section index. Place subsection links beneath their parent page as indented list items, following the order and nesting of the headings in that page.
  • Use relative Markdown links with a heading fragment for every subsection. Follow the Contributing index as the example.
  • Update the relevant indexes when you add, remove, rename, or reorder pages or headings. Verify the page and heading links before publishing.

Publishing Workflow

Maintain the manual in the repository's .wiki directory. The Sync Wiki GitHub Actions workflow publishes changes pushed to main; it can also be started manually from the Actions tab. The GitHub Wiki must already have an initial page. Publishing uses the workflow's built-in GITHUB_TOKEN with contents: write, without a separate personal access token.

The publishing script uses the leading first-level heading as the published page title and maps README.md to Home.md. It replaces the heading in the published body with an invisible anchor and builds Wiki URLs from the published titles while preserving link fragments. It copies images and links source files back to main. It validates local link targets and rejects duplicate published page names before updating the Wiki. A synchronization manifest tracks published files so removed source pages are removed from the Wiki while independently created pages are preserved. Edits to generated pages should be made in .wiki, because publishing replaces those pages.

Contributing

Clone this wiki locally