-
Notifications
You must be signed in to change notification settings - Fork 8
/
.readthedocs.yaml
31 lines (26 loc) · 1.05 KB
/
.readthedocs.yaml
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
31
version: 2
sphinx:
builder: html
build:
os: "ubuntu-22.04"
tools:
python: "3.10"
# rust: "latest"
commands:
# install rust manually. https://github.com/readthedocs/readthedocs.org/issues/11488
- asdf install rust 1.82.0
- asdf global rust 1.82.0
# readthedocs commands from the last non-commands controlled build (based on the commented out
# "python" section of this file)
- 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 h3ronpy/docs/requirements.txt
- python -m pip install --upgrade --upgrade-strategy only-if-needed --no-cache-dir ./h3ronpy
- cat h3ronpy/docs/source/conf.py
- python -m sphinx -T -b html -d _build/doctrees -D language=en h3ronpy/docs/source $READTHEDOCS_OUTPUT/html
#python:
# install:
# - requirements: h3ronpy/docs/requirements.txt
# - method: pip
# path: ./h3ronpy