Skip to content

Commit

Permalink
build(python): update docfx job to use new plugin (#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
dandhlee authored Mar 30, 2021
1 parent 4dc31ac commit 4501974
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions synthtool/gcp/templates/python_library/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4501974

Please sign in to comment.