forked from google-deepmind/torax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.readthedocs.yaml
28 lines (23 loc) · 864 Bytes
/
.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
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
# Set the OS, Python version and other tools you might need
# Note:
# Recommend setting the following env variable for local builds to suppress
# unhelpful warnings when e.g. dataclass attributes are also documented in
# docstrings:
# `export SPHINX_APIDOC_OPTIONS=members,show-inheritance`
# in readthedocs.org, this env variable is set through admin/Environment Variables
build:
os: ubuntu-22.04
tools:
python: "3.10"
commands:
- pip install -r docs/requirements.txt
- cd docs && make html
- mkdir $READTHEDOCS_OUTPUT
- cp -r docs/_build/html $READTHEDOCS_OUTPUT/
# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt