Skip to content

Commit

Permalink
build(python): update docfx job to use new plugin (#83)
Browse files Browse the repository at this point in the history
Source-Author: Dan Lee <71398022+dandhlee@users.noreply.github.com>
Source-Date: Tue Mar 30 19:36:37 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 4501974ad08b5d693311457e2ea4ce845676e329
Source-Link: googleapis/synthtool@4501974
  • Loading branch information
yoshi-automation authored Apr 3, 2021
1 parent 31dec1f commit cbb564c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/google-cloud-container/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ 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<3.0.0", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
)

shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-container/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-container.git",
"sha": "206e49548ee102b59716d58c55373c6aa5b1e990"
"sha": "a575b0b0402e92afe5b5ef83e006ad991a2f73bb"
}
},
{
Expand All @@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "86ed43d4f56e6404d068e62e497029018879c771"
"sha": "4501974ad08b5d693311457e2ea4ce845676e329"
}
}
],
Expand Down

0 comments on commit cbb564c

Please sign in to comment.