Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

chore: upgrade sphinx to 4.0.1 #256

Merged
merged 2 commits into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def docs(session):
"""Build the docs for this library."""

session.install("-e", ".")
session.install("sphinx<3.0.0", "alabaster", "recommonmark")
session.install("sphinx==4.0.1", "alabaster", "recommonmark")

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand All @@ -215,7 +215,7 @@ def docfx(session):

session.install("-e", ".")
session.install(
"sphinx<3.0.0", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
"sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
)

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
Expand Down
3 changes: 0 additions & 3 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,4 @@
# ----------------------------------------------------------------------------
python.py_samples(skip_readmes=True)

# TODO(busunkim): Use latest sphinx after microgenerator transition
s.replace("noxfile.py", """['"]sphinx==4.0.1['"]""", '"sphinx<3.0.0"')

s.shell.run(["nox", "-s", "blacken"], hide_output=False)