Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Commit 232a056

Browse files
chore(py_library): add some excludes in docs/conf.py
This should fix build failures in python-bigquery. Example: googleapis/python-bigquery#205 * also add a comment Source-Author: Takashi Matsuo <tmatsuo@google.com> Source-Date: Mon Aug 3 15:08:00 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 4f8f5dc24af79694887385015294e4dbb214c352 Source-Link: googleapis/synthtool@4f8f5dc
1 parent b98739c commit 232a056

2 files changed

Lines changed: 71 additions & 4 deletions

File tree

docs/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
sys.path.insert(0, os.path.abspath(".."))
2222

2323
# For plugins that can not read conf.py.
24+
# See also: https://github.com/docascode/sphinx-docfx-yaml/issues/85
2425
sys.path.insert(0, os.path.abspath("."))
2526

2627
__version__ = ""
@@ -93,7 +94,12 @@
9394

9495
# List of patterns, relative to source directory, that match files and
9596
# directories to ignore when looking for source files.
96-
exclude_patterns = ["_build"]
97+
exclude_patterns = [
98+
"_build",
99+
"samples/AUTHORING_GUIDE.md",
100+
"samples/CONTRIBUTING.md",
101+
"samples/snippets/README.rst",
102+
]
97103

98104
# The reST default role (used for this markup: `text`) to use for all
99105
# documents.

synth.metadata

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,83 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-org-policy.git",
7-
"sha": "c5fbce5f0f05aa425c6c9fafc8263757da876c3c"
7+
"sha": "b98739cfbe6356b55a85acec932cb7c4ff7e8846"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "bfcdbe0da977b2de6c1c0471bb6dc2f1e13bf669"
14+
"sha": "4f8f5dc24af79694887385015294e4dbb214c352"
1515
}
1616
},
1717
{
1818
"git": {
1919
"name": "synthtool",
2020
"remote": "https://github.com/googleapis/synthtool.git",
21-
"sha": "bfcdbe0da977b2de6c1c0471bb6dc2f1e13bf669"
21+
"sha": "4f8f5dc24af79694887385015294e4dbb214c352"
2222
}
2323
}
24+
],
25+
"generatedFiles": [
26+
".flake8",
27+
".github/CONTRIBUTING.md",
28+
".github/ISSUE_TEMPLATE/bug_report.md",
29+
".github/ISSUE_TEMPLATE/feature_request.md",
30+
".github/ISSUE_TEMPLATE/support_request.md",
31+
".github/PULL_REQUEST_TEMPLATE.md",
32+
".github/release-please.yml",
33+
".kokoro/build.sh",
34+
".kokoro/continuous/common.cfg",
35+
".kokoro/continuous/continuous.cfg",
36+
".kokoro/docker/docs/Dockerfile",
37+
".kokoro/docker/docs/fetch_gpg_keys.sh",
38+
".kokoro/docs/common.cfg",
39+
".kokoro/docs/docs-presubmit.cfg",
40+
".kokoro/docs/docs.cfg",
41+
".kokoro/presubmit/common.cfg",
42+
".kokoro/presubmit/presubmit.cfg",
43+
".kokoro/publish-docs.sh",
44+
".kokoro/release.sh",
45+
".kokoro/release/common.cfg",
46+
".kokoro/release/release.cfg",
47+
".kokoro/samples/lint/common.cfg",
48+
".kokoro/samples/lint/continuous.cfg",
49+
".kokoro/samples/lint/periodic.cfg",
50+
".kokoro/samples/lint/presubmit.cfg",
51+
".kokoro/samples/python3.6/common.cfg",
52+
".kokoro/samples/python3.6/continuous.cfg",
53+
".kokoro/samples/python3.6/periodic.cfg",
54+
".kokoro/samples/python3.6/presubmit.cfg",
55+
".kokoro/samples/python3.7/common.cfg",
56+
".kokoro/samples/python3.7/continuous.cfg",
57+
".kokoro/samples/python3.7/periodic.cfg",
58+
".kokoro/samples/python3.7/presubmit.cfg",
59+
".kokoro/samples/python3.8/common.cfg",
60+
".kokoro/samples/python3.8/continuous.cfg",
61+
".kokoro/samples/python3.8/periodic.cfg",
62+
".kokoro/samples/python3.8/presubmit.cfg",
63+
".kokoro/test-samples.sh",
64+
".kokoro/trampoline.sh",
65+
".kokoro/trampoline_v2.sh",
66+
".trampolinerc",
67+
"CODE_OF_CONDUCT.md",
68+
"CONTRIBUTING.rst",
69+
"LICENSE",
70+
"MANIFEST.in",
71+
"docs/_static/custom.css",
72+
"docs/_templates/layout.html",
73+
"docs/conf.py",
74+
"docs/multiprocessing.rst",
75+
"renovate.json",
76+
"scripts/decrypt-secrets.sh",
77+
"scripts/readme-gen/readme_gen.py",
78+
"scripts/readme-gen/templates/README.tmpl.rst",
79+
"scripts/readme-gen/templates/auth.tmpl.rst",
80+
"scripts/readme-gen/templates/auth_api_key.tmpl.rst",
81+
"scripts/readme-gen/templates/install_deps.tmpl.rst",
82+
"scripts/readme-gen/templates/install_portaudio.tmpl.rst",
83+
"setup.cfg",
84+
"testing/.gitignore"
2485
]
2586
}

0 commit comments

Comments
 (0)