mirror of
https://github.com/hwchase17/langchain.git
synced 2025-04-28 11:55:21 +00:00
infra: update rtd yaml (#17502)
This commit is contained in:
parent
1aeb52caac
commit
dd68a8716e
@ -13,15 +13,8 @@ build:
|
|||||||
tools:
|
tools:
|
||||||
python: "3.11"
|
python: "3.11"
|
||||||
commands:
|
commands:
|
||||||
- python -m virtualenv $READTHEDOCS_VIRTUALENV_PATH
|
- mkdir -p $READTHEDOCS_OUTPUT
|
||||||
- python -m pip install --upgrade --no-cache-dir pip setuptools
|
- cp -r api_reference_build/* $READTHEDOCS_OUTPUT
|
||||||
- python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext
|
|
||||||
- python -m pip install ./libs/partners/*
|
|
||||||
- python -m pip install --exists-action=w --no-cache-dir -r docs/api_reference/requirements.txt
|
|
||||||
- python docs/api_reference/create_api_rst.py
|
|
||||||
- cat docs/api_reference/conf.py
|
|
||||||
- python -m sphinx -T -E -b html -d _build/doctrees -c docs/api_reference docs/api_reference $READTHEDOCS_OUTPUT/html -j auto
|
|
||||||
|
|
||||||
# Build documentation in the docs/ directory with Sphinx
|
# Build documentation in the docs/ directory with Sphinx
|
||||||
sphinx:
|
sphinx:
|
||||||
configuration: docs/api_reference/conf.py
|
configuration: docs/api_reference/conf.py
|
||||||
|
Loading…
Reference in New Issue
Block a user