From 37ae4d9f74ce137d22d7b9ca45032d2578eac1c2 Mon Sep 17 00:00:00 2001 From: Dan Lee Date: Tue, 30 Mar 2021 19:04:30 -0400 Subject: [PATCH] build(python): update docfx job to use new plugin --- synthtool/gcp/templates/python_library/noxfile.py.j2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/synthtool/gcp/templates/python_library/noxfile.py.j2 b/synthtool/gcp/templates/python_library/noxfile.py.j2 index 149fd5a84..3590242e2 100644 --- a/synthtool/gcp/templates/python_library/noxfile.py.j2 +++ b/synthtool/gcp/templates/python_library/noxfile.py.j2 @@ -257,9 +257,7 @@ def docfx(session): """Build the docfx yaml files for this library.""" session.install("-e", ".") - # sphinx-docfx-yaml supports up to sphinx version 1.5.5. - # https://github.com/docascode/sphinx-docfx-yaml/issues/97 - session.install("sphinx==1.5.5", "alabaster", "recommonmark", "sphinx-docfx-yaml") + session.install("sphinx", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml") shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) session.run(