Also generate the schema on each run

This commit is contained in:
Patrick Robertson
2025-02-27 21:37:37 +00:00
parent 65a9885d86
commit 3eb4ab41b8

View File

@@ -18,6 +18,8 @@ build:
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
# generate the config editor page. Schema then HTML
- poetry run python scripts/generate_settings_schema.py
# install node dependencies and build the settings
- cd scripts/settings && npm install && npm run build && cp dist/index.html ../../docs/source/installation/settings_base.html && cd ../..