llama-index
/
.readthedocs.yaml
26 строк · 871.0 Байт
1# Read the Docs configuration file for Sphinx projects
2# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
4# Required
5version: 2
6
7# Set the OS, Python version and other tools you might need
8build:
9os: ubuntu-22.04
10tools:
11python: "3.11"
12commands:
13- python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH
14- python -m pip install --upgrade --no-cache-dir pip setuptools
15- python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext
16- python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
17- cat docs/conf.py
18- python -m sphinx -T -E -b html -d ./docs/_build/doctrees -D language=en ./docs $READTHEDOCS_OUTPUT/html -j 8
19
20# Build documentation in the "docs/" directory with Sphinx
21sphinx:
22configuration: docs/conf.py
23
24python:
25install:
26- requirements: docs/requirements.txt
27