Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea authored Jan 22, 2024
1 parent 6e3e37e commit 3058549
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,19 @@ def docs(session):

session.install("-e", ".[tracing]")
session.install(
"sphinx==4.0.1", "alabaster", "recommonmark", "django==2.2"
# We need to pin to specific versions of the `sphinxcontrib-*` packages
# which still support sphinx 4.x.
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"sphinx==4.5.0",
"alabaster",
"recommonmark",
"django==2.2"
)

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
Expand All @@ -207,6 +219,15 @@ def docfx(session):

session.install("-e", ".[tracing]")
session.install(
# We need to pin to specific versions of the `sphinxcontrib-*` packages
# which still support sphinx 4.x.
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"gcp-sphinx-docfx-yaml",
"alabaster",
"recommonmark",
Expand Down

0 comments on commit 3058549

Please sign in to comment.