InvenTree/readthedocs.yml

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

23 lines
557 B
YAML
Raw 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 export-settings-definitions --filename docs/inventree_settings.json --overwrite
2024-03-02 00:28:37 +00:00
- invoke schema --filename docs/schema.yml --ignore-warnings
- python docs/extract_schema.py docs/schema.yml