-
Notifications
You must be signed in to change notification settings - Fork 417
/
.readthedocs.yml
30 lines (26 loc) · 1004 Bytes
/
.readthedocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 2
sphinx:
configuration: docs/conf.py
#formats:
# - htmlzip
build:
os: ubuntu-22.04
tools:
python: "3.10"
commands:
- asdf install rust 1.82.0
- asdf global rust 1.82.0
- cp examples/*.ipynb docs/tutorials
- python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH
- python -m pip install --upgrade --no-cache-dir pip setuptools
- python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext
- python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
- python -m pip install --upgrade --upgrade-strategy only-if-needed --no-cache-dir ./py-hftbacktest
- cat docs/conf.py
- python -m sphinx -T -b html -d _build/doctrees -D language=en ./docs $READTHEDOCS_OUTPUT/html
# - python -m sphinx -T -b readthedocssinglehtmllocalmedia -d _build/doctrees -D language=en ./docs $READTHEDOCS_OUTPUT/htmlzip
#python:
# install:
# - requirements: docs/requirements.txt
# - method: pip
# path: py-hftbacktest