docs(site): make docs/ buildable as a documentation site
Adds an mkdocs.yml, a landing page, and `task docs:site` / `task docs:serve`. Deliberately hosting-agnostic: MkDocs is the same input Backstage TechDocs consumes, so choosing where this lands later costs nothing. exclude_docs holds back four subtrees, since everything under docs/ would otherwise be published. archive/ is superseded design and would compete with the current architecture for a reader's attention; inspiration/ discusses other products by name; prds/ are open decisions rather than settled design; github-token.md is credential setup. One PRD is let back through because architecture/migration-decisions.md links to it three times, and a page excluded out from under a live link is just a 404 with extra steps. No nav block. MkDocs derives it from the directory layout, so a new page under docs/architecture/ publishes without a second edit, and there is no hand-maintained tree to drift against the repository. Builds --strict, so a dead internal link fails rather than ships.
This commit is contained in:
1 parent
38c0e485bc
commit
dcaa98cc44
4 files changed
+120
No files matched your search
@@ -48,3 +48,6 @@ config.production.toml
|
||||
.local/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# MkDocs build output (task docs:site)
|
||||
/site/
|
||||
Reference in new issue
Block a user