Skip to content

Commit

Permalink
chore: use gcp-sphinx-docfx-yaml (#161)
Browse files Browse the repository at this point in the history
makes use of the updated plugin for generating DocFX YAMLs
  • Loading branch information
dandhlee committed Apr 28, 2021
1 parent 3c8da54 commit c18104c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,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 c18104c

Please sign in to comment.