mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
42183a3a3f
* Add new global setting * Check if there are open children before completing a build * Adds management command to export settings definition * Fix settings export * Extract settings data into documentation * Add global settings spec * User settings * Revert strict mode * Tweak unit test * Remove unreachable code * Always export settings first * Remove unused macro * Remove old images * Re-add missing docs strings * Tweak docs * Remove unused import
23 lines
557 B
YAML
23 lines
557 B
YAML
version: 2
|
|
|
|
mkdocs:
|
|
configuration: docs/mkdocs.yml
|
|
|
|
python:
|
|
install:
|
|
- requirements: docs/requirements.txt
|
|
- requirements: src/backend/requirements.txt
|
|
|
|
build:
|
|
os: "ubuntu-22.04"
|
|
tools:
|
|
python: "3.9"
|
|
jobs:
|
|
post_install:
|
|
- echo "Generating API schema file"
|
|
- pip install -U invoke
|
|
- invoke migrate
|
|
- invoke export-settings-definitions --filename docs/inventree_settings.json --overwrite
|
|
- invoke schema --filename docs/schema.yml --ignore-warnings
|
|
- python docs/extract_schema.py docs/schema.yml
|