Skip to content

Commit

Permalink
build(python): update docfx job to use new plugin (#138)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/eed5ac88-37a8-4fd5-bece-3267ea30553e/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Source-Link: googleapis/synthtool@4501974
  • Loading branch information
yoshi-automation committed Mar 31, 2021
1 parent 1b50a54 commit f21f3ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/google-cloud-python-speech/noxfile.py
Original file line number Diff line number Diff line change
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
6 changes: 3 additions & 3 deletions packages/google-cloud-python-speech/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-speech.git",
"sha": "f1f158d4a384292989d2c45b43cbe7d076907197"
"sha": "287670a345075cf59735573b633e603532628ab5"
}
},
{
Expand All @@ -19,14 +19,14 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "86ed43d4f56e6404d068e62e497029018879c771"
"sha": "4501974ad08b5d693311457e2ea4ce845676e329"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "86ed43d4f56e6404d068e62e497029018879c771"
"sha": "4501974ad08b5d693311457e2ea4ce845676e329"
}
}
],
Expand Down

0 comments on commit f21f3ad

Please sign in to comment.