Skip to content

Commit

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

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* 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 a76ee53 commit fe3e7ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
__all__ = (
"BigQuerySource",
"Catalog",
"CatalogServiceClient",
"CollectUserEventRequest",
"CreateProductRequest",
"CustomAttribute",
Expand All @@ -82,6 +81,7 @@
"ListCatalogsResponse",
"PredictRequest",
"PredictResponse",
"PredictionServiceClient",
"PriceInfo",
"Product",
"ProductDetail",
Expand All @@ -105,5 +105,5 @@
"UserEventServiceClient",
"UserInfo",
"WriteUserEventRequest",
"PredictionServiceClient",
"CatalogServiceClient",
)
4 changes: 1 addition & 3 deletions packages/google-cloud-retail/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-retail/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-retail.git",
"sha": "06dbca264cab76c37876557a6e9954fa1105988f"
"sha": "c594007605f35e1f85711100e3d903b8924c4d99"
}
},
{
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 fe3e7ab

Please sign in to comment.