Skip to content

Commit

Permalink
chore: use gcp-sphinx-docfx-yaml (#343)
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 29, 2021
1 parent abe9e8a commit 1d5c19a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions noxfile.py
Expand Up @@ -211,9 +211,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 1d5c19a

Please sign in to comment.