Compare commits

...

1 Commits

Author SHA1 Message Date
08426731f6 Install theme in push scripts 2025-07-15 10:43:29 -07:00
3 changed files with 3 additions and 1 deletions

View File

@ -58,6 +58,7 @@ time python tools/setup_helpers/generate_code.py \
# Build the docs
pushd docs/cpp
pip install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git@pytorch_sphinx_theme2#egg=pytorch_sphinx_theme2
time make VERBOSE=1 html -j
popd

View File

@ -12,6 +12,7 @@ echo "version: $version"
# Build functorch docs
pushd $pt_checkout/functorch/docs
pip install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git@pytorch_sphinx_theme2#egg=pytorch_sphinx_theme2
make html
popd

View File

@ -46,7 +46,7 @@ echo "error: python_doc_push_script.sh: branch (arg3) not specified"
fi
echo "install_path: $install_path version: $version"
pip install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git@pytorch_sphinx_theme2#egg=pytorch_sphinx_theme2
build_docs () {
set +e