Skip to content

Commit

Permalink
build(python): update docfx job to use new plugin (#126)
Browse files Browse the repository at this point in the history
* changes without context

* build(python): update docfx job to use new plugin

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 Mar 31, 2021
1 parent 3e01ef9 commit a4beb57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions packages/google-cloud-translate/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
9 changes: 5 additions & 4 deletions packages/google-cloud-translate/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-translate.git",
"sha": "a397effb87f74f579605bcf261bf2b00d5e9fa5b"
"sha": "f41be7adee001acaaa14e892bfbb52b91a336cb0"
}
},
{
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 Expand Up @@ -166,6 +166,7 @@
"tests/unit/gapic/translate_v3/__init__.py",
"tests/unit/gapic/translate_v3/test_translation_service.py",
"tests/unit/gapic/translate_v3beta1/__init__.py",
"tests/unit/gapic/translate_v3beta1/test_translation_service.py"
"tests/unit/gapic/translate_v3beta1/test_translation_service.py",
"translation-v3-py.tar.gz"
]
}
Empty file.

0 comments on commit a4beb57

Please sign in to comment.