Skip to content

Commit

Permalink
build(python): update docfx job to use new plugin (#71)
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 Mar 31, 2021
1 parent 8101990 commit 2919f81
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 7 deletions.
4 changes: 1 addition & 3 deletions packages/google-cloud-scheduler/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
135 changes: 131 additions & 4 deletions packages/google-cloud-scheduler/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{
"git": {
"name": ".",
"remote": "git@github.com:googleapis/python-scheduler",
"sha": "b13c5a9f28eca4644c655c5d0e1c20d48b55bb29"
"remote": "https://github.com/googleapis/python-scheduler.git",
"sha": "bd2190046269eea1e08111b97f01e845f748b8e5"
}
},
{
Expand All @@ -19,14 +19,14 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098"
"sha": "4501974ad08b5d693311457e2ea4ce845676e329"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098"
"sha": "4501974ad08b5d693311457e2ea4ce845676e329"
}
}
],
Expand All @@ -49,5 +49,132 @@
"generator": "bazel"
}
}
],
"generatedFiles": [
".coveragerc",
".flake8",
".github/CONTRIBUTING.md",
".github/ISSUE_TEMPLATE/bug_report.md",
".github/ISSUE_TEMPLATE/feature_request.md",
".github/ISSUE_TEMPLATE/support_request.md",
".github/PULL_REQUEST_TEMPLATE.md",
".github/header-checker-lint.yml",
".github/release-please.yml",
".github/snippet-bot.yml",
".gitignore",
".kokoro/build.sh",
".kokoro/continuous/common.cfg",
".kokoro/continuous/continuous.cfg",
".kokoro/docker/docs/Dockerfile",
".kokoro/docker/docs/fetch_gpg_keys.sh",
".kokoro/docs/common.cfg",
".kokoro/docs/docs-presubmit.cfg",
".kokoro/docs/docs.cfg",
".kokoro/populate-secrets.sh",
".kokoro/presubmit/common.cfg",
".kokoro/presubmit/presubmit.cfg",
".kokoro/publish-docs.sh",
".kokoro/release.sh",
".kokoro/release/common.cfg",
".kokoro/release/release.cfg",
".kokoro/samples/lint/common.cfg",
".kokoro/samples/lint/continuous.cfg",
".kokoro/samples/lint/periodic.cfg",
".kokoro/samples/lint/presubmit.cfg",
".kokoro/samples/python3.6/common.cfg",
".kokoro/samples/python3.6/continuous.cfg",
".kokoro/samples/python3.6/periodic-head.cfg",
".kokoro/samples/python3.6/periodic.cfg",
".kokoro/samples/python3.6/presubmit.cfg",
".kokoro/samples/python3.7/common.cfg",
".kokoro/samples/python3.7/continuous.cfg",
".kokoro/samples/python3.7/periodic-head.cfg",
".kokoro/samples/python3.7/periodic.cfg",
".kokoro/samples/python3.7/presubmit.cfg",
".kokoro/samples/python3.8/common.cfg",
".kokoro/samples/python3.8/continuous.cfg",
".kokoro/samples/python3.8/periodic-head.cfg",
".kokoro/samples/python3.8/periodic.cfg",
".kokoro/samples/python3.8/presubmit.cfg",
".kokoro/test-samples-against-head.sh",
".kokoro/test-samples-impl.sh",
".kokoro/test-samples.sh",
".kokoro/trampoline.sh",
".kokoro/trampoline_v2.sh",
".pre-commit-config.yaml",
".trampolinerc",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.rst",
"LICENSE",
"MANIFEST.in",
"docs/_static/custom.css",
"docs/_templates/layout.html",
"docs/conf.py",
"docs/multiprocessing.rst",
"docs/scheduler_v1/cloud_scheduler.rst",
"docs/scheduler_v1/services.rst",
"docs/scheduler_v1/types.rst",
"docs/scheduler_v1beta1/cloud_scheduler.rst",
"docs/scheduler_v1beta1/services.rst",
"docs/scheduler_v1beta1/types.rst",
"google/cloud/scheduler/__init__.py",
"google/cloud/scheduler/py.typed",
"google/cloud/scheduler_v1/__init__.py",
"google/cloud/scheduler_v1/proto/cloudscheduler.proto",
"google/cloud/scheduler_v1/proto/job.proto",
"google/cloud/scheduler_v1/proto/target.proto",
"google/cloud/scheduler_v1/py.typed",
"google/cloud/scheduler_v1/services/__init__.py",
"google/cloud/scheduler_v1/services/cloud_scheduler/__init__.py",
"google/cloud/scheduler_v1/services/cloud_scheduler/async_client.py",
"google/cloud/scheduler_v1/services/cloud_scheduler/client.py",
"google/cloud/scheduler_v1/services/cloud_scheduler/pagers.py",
"google/cloud/scheduler_v1/services/cloud_scheduler/transports/__init__.py",
"google/cloud/scheduler_v1/services/cloud_scheduler/transports/base.py",
"google/cloud/scheduler_v1/services/cloud_scheduler/transports/grpc.py",
"google/cloud/scheduler_v1/services/cloud_scheduler/transports/grpc_asyncio.py",
"google/cloud/scheduler_v1/types/__init__.py",
"google/cloud/scheduler_v1/types/cloudscheduler.py",
"google/cloud/scheduler_v1/types/job.py",
"google/cloud/scheduler_v1/types/target.py",
"google/cloud/scheduler_v1beta1/__init__.py",
"google/cloud/scheduler_v1beta1/proto/cloudscheduler.proto",
"google/cloud/scheduler_v1beta1/proto/job.proto",
"google/cloud/scheduler_v1beta1/proto/target.proto",
"google/cloud/scheduler_v1beta1/py.typed",
"google/cloud/scheduler_v1beta1/services/__init__.py",
"google/cloud/scheduler_v1beta1/services/cloud_scheduler/__init__.py",
"google/cloud/scheduler_v1beta1/services/cloud_scheduler/async_client.py",
"google/cloud/scheduler_v1beta1/services/cloud_scheduler/client.py",
"google/cloud/scheduler_v1beta1/services/cloud_scheduler/pagers.py",
"google/cloud/scheduler_v1beta1/services/cloud_scheduler/transports/__init__.py",
"google/cloud/scheduler_v1beta1/services/cloud_scheduler/transports/base.py",
"google/cloud/scheduler_v1beta1/services/cloud_scheduler/transports/grpc.py",
"google/cloud/scheduler_v1beta1/services/cloud_scheduler/transports/grpc_asyncio.py",
"google/cloud/scheduler_v1beta1/types/__init__.py",
"google/cloud/scheduler_v1beta1/types/cloudscheduler.py",
"google/cloud/scheduler_v1beta1/types/job.py",
"google/cloud/scheduler_v1beta1/types/target.py",
"mypy.ini",
"noxfile.py",
"renovate.json",
"samples/AUTHORING_GUIDE.md",
"samples/CONTRIBUTING.md",
"samples/snippets/noxfile.py",
"scripts/decrypt-secrets.sh",
"scripts/fixup_scheduler_v1_keywords.py",
"scripts/fixup_scheduler_v1beta1_keywords.py",
"scripts/readme-gen/readme_gen.py",
"scripts/readme-gen/templates/README.tmpl.rst",
"scripts/readme-gen/templates/auth.tmpl.rst",
"scripts/readme-gen/templates/auth_api_key.tmpl.rst",
"scripts/readme-gen/templates/install_deps.tmpl.rst",
"scripts/readme-gen/templates/install_portaudio.tmpl.rst",
"setup.cfg",
"testing/.gitignore",
"tests/unit/gapic/scheduler_v1/__init__.py",
"tests/unit/gapic/scheduler_v1/test_cloud_scheduler.py",
"tests/unit/gapic/scheduler_v1beta1/__init__.py",
"tests/unit/gapic/scheduler_v1beta1/test_cloud_scheduler.py"
]
}

0 comments on commit 2919f81

Please sign in to comment.