use dynamic build process for RTD

This commit is contained in:
Matthias 2024-04-03 19:03:33 +02:00
parent 9c8b6babdf
commit 5fba44abe7
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ build:
os: "ubuntu-22.04"
tools:
python: "3.11"
commands:
- pip install --no-cache-dir -r docs/requirements-docs.txt
- python -m mkdocs build --clean --site-dir $READTHEDOCS_OUTPUT/html --config-file mkdocs.yml
python:
install:

View File

@ -1,5 +1,5 @@
site_name: Freqtrade
site_url: https://www.freqtrade.io/en/latest/
site_url: !ENV [READTHEDOCS_CANONICAL_URL, 'https://www.freqtrade.io/en/latest/']
repo_url: https://github.com/freqtrade/freqtrade
edit_uri: edit/develop/docs/
use_directory_urls: True