[docs] Zensical docs (#13253)

* add zensical workflow

* rebuild schema dynamically

* load in new module

* Use zensical for docs invoke tasks

* modern

* improved carousel layout

* Increased content width

* fix for app icons

* Ensure schema dir exists

* remove unused requirement

* update readthedocs process

* fix polar.sh link

* adjust link checker pattern

* Revert some of the original style

* remove legacy mkdocs requirements

* fix for ready.py

* reduce db warnings during schema generation

* Adjust padding

* fix index issues

* fix page title

* fix pages with broken or missing headers

* split data import API schema

* cleanup old carousel

* remove djlint link
This commit is contained in:
Oliver authored and GitHub committed 2026-11-14 22:34:18 +11:00
1 parent 80ad822688
commit 19dfb81bfb
52 files changed
+1272 -4885

No files matched your search

+11 -13
View File
@@ -1,19 +1,17 @@
version: 2
mkdocs:
configuration: docs/mkdocs.yml
python:
install:
- requirements: docs/requirements.txt
- requirements: src/backend/requirements.txt
# The documentation is built with Zensical, which ReadTheDocs does not support
# natively, so a custom build is used. The output must be placed in
# $READTHEDOCS_OUTPUT/html (see https://docs.readthedocs.com/platform/stable/build-customization.html)
build:
os: "ubuntu-24.04"
tools:
python: "3.12"
jobs:
post_install:
- pip install -U invoke
- echo "Generating API schema file"
- invoke build-docs
commands:
- pip install -r docs/requirements.txt
- pip install -r src/backend/requirements.txt
- pip install -U invoke
# Generate the API schema and settings definitions, build the site and run the post-build checks
- invoke build-docs --build
- mkdir -p $READTHEDOCS_OUTPUT/html
- cp -r docs/site/. $READTHEDOCS_OUTPUT/html/