Files
InvenTree/readthedocs.yml
T
Oliver 19dfb81bfb [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
2026-11-14 22:34:18 +11:00

18 lines
674 B
YAML

version: 2
# 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"
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/