Skip to content

Commit

Permalink
Fix RTD issues
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 679579456
  • Loading branch information
xingyousong authored and copybara-github committed Sep 27, 2024
1 parent 820e38b commit f64dca7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/generate_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
OUTPUT_FOLDER=_build

# Install Sphinx.
pip install sphinx<7.0.0 # Ensures compatibility with `sphinx_rtd_theme`.
pip install sphinx>=8.0.0 # Make sure up-to-date with ReadTheDocs server.
# Installs relevant Sphinx packages.
pip install -r requirements-docs.txt --use-deprecated=legacy-resolver
pip install -r requirements-docs.txt

# Build files (HTML, doctests, etc.) into `OUTPUT_FOLDER` directory.
rm -rf ${OUTPUT_FOLDER} # Clear out original folder
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
autodocsumm
sphinx_autodoc_typehints
myst_nb
sphinx_rtd_theme
sphinx_rtd_theme>=2.0.0 # Makes sure compatibility with Sphinx 8.0.0+

0 comments on commit f64dca7

Please sign in to comment.