Stand: 2026-05-13
Diese Seite konsolidiert den aktuellen, verbindlichen Build-/Preview-/Publish-Flow fuer die Dokumentation.
| Datei | Aufgabe |
|---|---|
mkdocs.yml |
Hauptkonfiguration (Theme, Navigation, with-pdf, print-site) |
mkdocs-nopdf.yml |
Build ohne PDF-Plugin (INHERIT + Plugin-Override) |
requirements-docs.txt |
Reproduzierbar gepinnte Python-Doku-Abhaengigkeiten |
docs/print-banner.html |
Banner fuer die Druck-/Print-Seite |
docs/print-cover.html |
Cover fuer die Print/PDF-Ausgabe |
docs/_Sidebar.md, docs/_Footer.md |
Wiki-Navigation/-Footer |
docs/website/** |
Marketing-Website-Quellen (nicht Teil des MkDocs-Builds) |
docs/_generated/** |
Generierte Doku-Indizes/Artefakte (z. B. primary_index.json) |
python3 -m pip install -r requirements-docs.txtpython3 -m mkdocs serve --config-file mkdocs-nopdf.yml- URL:
http://127.0.0.1:8000/ - Nutzt
print-site, aber keinwith-pdf.
python3 -m mkdocs build --config-file mkdocs-nopdf.yml --clean- Output:
site/
ENABLE_PDF_EXPORT=1 python3 -m mkdocs build --clean- Site-Output:
site/ - PDF-Output:
artifacts/docs/ThemisDB-Documentation-v1.3.5.pdf
- Der aktive Workflow-Kern ist in
.github/WORKFLOW_REGISTRY.mddokumentiert. - Es gibt aktuell keinen aktiven GitHub-Pages-Deploy-Workflow fuer MkDocs in
.github/workflows/. - Die dokumentierten historischen Pipelines (
docs/ci-cd/workflows/docs/docs-pipeline.md,docs/ci-cd/GITHUB_PAGES_SETUP.md) sind Legacy-Referenz und nicht der aktive Ist-Stand.
- Static Site Artefakt:
site/nach lokalem/CI-Build bereitstellen. - Wiki-Pfad:
python3 tools/publish_wiki.py- alternativ
scripts/sync-wiki.ps1
- Print/PDF-Pfad:
site/print_page/index.htmlfuer Browser-Druck- optionales PDF in
artifacts/docs/beiENABLE_PDF_EXPORT=1
| Thema | mkdocs-nopdf.yml (Standard) |
mkdocs.yml + ENABLE_PDF_EXPORT=1 |
|---|---|---|
| Ziel | schnelle Site-Builds ohne PDF-Plugin | Site + PDF-Artefakt |
| Plugins | search, exclude, print-site |
search, with-pdf, print-site |
print_page |
Ja (site/print_page/index.html) |
Ja (site/print_page/index.html) |
| PDF-Datei | nein | artifacts/docs/ThemisDB-Documentation-v1.3.5.pdf |
| Symptom | Ursache | Behebung |
|---|---|---|
No module named mkdocs / Plugin fehlt |
Abhaengigkeiten nicht installiert/inkonsistent | python3 -m pip install -r requirements-docs.txt |
Template file docs/print-*.html not found |
Pfad/Datei fuer Print-Templates fehlt | docs/print-banner.html und docs/print-cover.html pruefen |
| PDF wird nicht erzeugt | ENABLE_PDF_EXPORT nicht gesetzt |
Build mit ENABLE_PDF_EXPORT=1 starten |
Viele Warnungen bei --strict |
Altlasten in Navigation/Ankern | Warnungen gezielt im betroffenen Bereich bereinigen; Build ohne --strict nur fuer lokale Diagnose |
| Build bricht bei WeasyPrint-Systemlibs | Plattformabhaengigkeit von mkdocs-with-pdf |
fuer Authoring mkdocs-nopdf.yml nutzen; PDF in passender Build-Umgebung erzeugen |
Referenzen (verbindlich):
- DOCUMENTATION_REVIEW_GUIDELINES.md
- SYSTEMATISCHER_REVIEWPLAN.md
- PR_DOCUMENTATION_CHECKLIST.md
- de/development/SOURCE_CODE_AUDIT.md
- audit-framework/AUDIT_RUNBOOK.md
Gepruefte Bereiche in diesem Change:
mkdocs.ymlmkdocs-nopdf.ymlrequirements-docs.txtdocs/print-banner.htmldocs/print-cover.htmldocs/README-DOCUMENTATION.mddocs/README.mddocs/website/README.mddocs/_generated/README.mddocs/_Sidebar.mddocs/_Footer.md