Skip to content

Commit e264aca

Browse files
author
Michael Lin
committed
attempt 4 at fixing all docs
1 parent ce0c071 commit e264aca

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ build:
1111
tools:
1212
python: "mambaforge-22.9"
1313
commands:
14-
- cat docs/environment_docs.yml
15-
- mamba env create --quiet --name pytc_docs --file docs/environment_docs.yml
16-
- conda activate pytc_docs
14+
- mamba env create --quiet --name latest --file docs/environment_docs.yml
1715
- pip install --editable .
18-
- cat docs/source/conf.py
16+
- git clone https://github.com/pytorch/pytorch_sphinx_theme
17+
- pip install -e pytorch_sphinx_theme
1918
- python -m sphinx -T -b html -d _build/doctrees -D language=en ./docs/source $READTHEDOCS_OUTPUT/html
2019
# Build documentation in the docs/ directory with Sphinx
2120
sphinx:

0 commit comments

Comments
 (0)