nvitop/.readthedocs.yaml
Xuehai Pan 467f4cebc1 docs: use scripts to bypass bugs in the readthedocs build system
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-07-02 19:04:40 +08:00

28 lines
681 B
YAML

# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.8"
jobs:
post_install:
- bash docs/source/fix-psutil-docstring.sh
# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html
configuration: docs/source/conf.py
fail_on_warning: true
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: requirements.txt
- requirements: docs/requirements.txt
system_packages: true