Skip to content

Commit

Permalink
chore: pin Sphinx version in noxfile (#500)
Browse files Browse the repository at this point in the history
Closes #469.
  • Loading branch information
tseaver committed Jul 10, 2021
1 parent 0a52546 commit a8aaaf6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def docs(session):
"""Build the docs for this library."""

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

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

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

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand Down

0 comments on commit a8aaaf6

Please sign in to comment.