User documentation for Phylax - the local-first, zero-knowledge living health profile PWA.
Live site: https://astrapi69.github.io/phylax-docs/
The Phylax PWA at astrapi69.github.io/phylax/ owns the /phylax/ path on GitHub Pages, including its service worker scope. Hosting documentation under a sibling subpath would conflict with the SW scope, so the docs live in their own GitHub Pages site at astrapi69.github.io/phylax-docs/.
See docs/MAINTENANCE.md in the main Phylax repo for the full rationale and cross-repo coordination notes.
Iteration 1 (in progress): scaffolding only. Tooling, navigation, and placeholder pages are live. Real content is filled in over subsequent iterations as Phylax features stabilize.
- MkDocs static site generator
- Material for MkDocs theme
- mkdocs-static-i18n for DE/EN parallel content (
docs_structure: folder) - mkdocs-git-revision-date-localized for last-modified dates
- Poetry for Python dependency management
- GitHub Actions deploy to GitHub Pages
No analytics, no trackers, no third-party CDNs at runtime - same constraints as the Phylax app itself.
phylax-docs/
├── mkdocs.yml # MkDocs config (nav block is generated)
├── docs/
│ ├── pyproject.toml # Poetry config for the docs build
│ └── help/ # docs_dir
│ ├── _meta.yaml # single source of truth for navigation
│ ├── de/ # German content
│ └── en/ # English content
├── scripts/
│ └── generate_mkdocs_nav.py # generates nav block from _meta.yaml
└── .github/workflows/docs.yml # CI build + deploy
Requires Python 3.11+ and Poetry.
cd docs
poetry install --no-interaction
cd ..
poetry --directory=docs run python scripts/generate_mkdocs_nav.py
poetry --directory=docs run mkdocs serve -f mkdocs.ymlOpen http://127.0.0.1:8000 to preview.
- Edit the DE and EN page in parallel (DE in
docs/help/de/..., EN indocs/help/en/...). - To add a new page, register it in
docs/help/_meta.yamland create both DE and EN files. - Run
python scripts/generate_mkdocs_nav.pyso the regenerated nav block reflects the change. - The deploy workflow runs the same nav-generation step in CI; the committed
mkdocs.ymlis the canonical version.
The German content follows the umlaut and language conventions documented in the Phylax main repo (CLAUDE.md).
MIT - see LICENSE.