feat(11.1-01): publish every module README as an API reference page

- discover modules/<m> with non-test Go files; a missing README is a readme: problem
- one GitHub-compatible slug parser.IDs for heading anchors, passed per page
- rewrite links to .md pages and module READMEs to site .html and .md URLs
- search-index.json gains one entry per H2 with 300-char plain text
- add the api section to docs/site.yaml; docsite.Pages exposes reading order
- tests: TestSlugIDs, TestReadmeIngestion, TestEveryModuleInSidebar, TestDocsAIOutputsInSync
This commit is contained in:
Jakub Zych
2026-09-30 21:21:56 +02:00
parent 6dacddc040
commit e433dcf0c9
6 changed files with 815 additions and 36 deletions

View File

@@ -13,3 +13,5 @@ llms_notes:
sections:
- name: setup
title: Setup
- name: api
title: API reference