Skip to content

Commit dd68a87

Browse files
authored
infra: update rtd yaml (langchain-ai#17502)
1 parent 1aeb52c commit dd68a87

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.readthedocs.yaml

+2-9
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,8 @@ build:
1313
tools:
1414
python: "3.11"
1515
commands:
16-
- python -m virtualenv $READTHEDOCS_VIRTUALENV_PATH
17-
- python -m pip install --upgrade --no-cache-dir pip setuptools
18-
- python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext
19-
- python -m pip install ./libs/partners/*
20-
- python -m pip install --exists-action=w --no-cache-dir -r docs/api_reference/requirements.txt
21-
- python docs/api_reference/create_api_rst.py
22-
- cat docs/api_reference/conf.py
23-
- python -m sphinx -T -E -b html -d _build/doctrees -c docs/api_reference docs/api_reference $READTHEDOCS_OUTPUT/html -j auto
24-
16+
- mkdir -p $READTHEDOCS_OUTPUT
17+
- cp -r api_reference_build/* $READTHEDOCS_OUTPUT
2518
# Build documentation in the docs/ directory with Sphinx
2619
sphinx:
2720
configuration: docs/api_reference/conf.py

0 commit comments

Comments
 (0)