Skip to content

Commit

Permalink
A modest 15% speedup on docs build times (run-llama#9098)
Browse files Browse the repository at this point in the history
  • Loading branch information
seldo authored Nov 23, 2023
1 parent f78555d commit 04eec49
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"
commands:
- 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
- cat docs/conf.py
- python -m sphinx -T -E -b html -d ./docs/_build/doctrees -D language=en ./docs $READTHEDOCS_OUTPUT/html -j 8

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down

0 comments on commit 04eec49

Please sign in to comment.