mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-14 12:32:44 +00:00
* 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
18 lines
674 B
YAML
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/
|