InvenTree/readthedocs.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
462 B
YAML
Raw Permalink Normal View History

version: 2
mkdocs:
configuration: docs/mkdocs.yml
python:
install:
- requirements: docs/requirements.txt
2024-03-02 00:28:37 +00:00
- requirements: src/backend/requirements.txt
build:
os: "ubuntu-22.04"
tools:
python: "3.9"
2024-03-02 00:28:37 +00:00
jobs:
post_install:
- echo "Generating API schema file"
- pip install -U invoke
- invoke migrate
- invoke schema --filename docs/schema.yml --ignore-warnings
- python docs/extract_schema.py docs/schema.yml