Skip to content

Commit f1ea3df

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 <[email protected]> Source-Date: Mon Aug 3 15:08:00 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 4f8f5dc24af79694887385015294e4dbb214c352 Source-Link: googleapis/synthtool@4f8f5dc
1 parent 6a5b3d0 commit f1ea3df

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

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: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-runtimeconfig.git",
7-
"sha": "94a7b76e24bbef6a33efd599d0bd9fc6702ef70a"
7+
"sha": "6a5b3d04239eecccad42974c91ed7a1569a6c95f"
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
],
@@ -28,7 +28,10 @@
2828
".kokoro/build.sh",
2929
".kokoro/continuous/common.cfg",
3030
".kokoro/continuous/continuous.cfg",
31+
".kokoro/docker/docs/Dockerfile",
32+
".kokoro/docker/docs/fetch_gpg_keys.sh",
3133
".kokoro/docs/common.cfg",
34+
".kokoro/docs/docs-presubmit.cfg",
3235
".kokoro/docs/docs.cfg",
3336
".kokoro/presubmit/common.cfg",
3437
".kokoro/presubmit/presubmit.cfg",
@@ -54,6 +57,8 @@
5457
".kokoro/samples/python3.8/presubmit.cfg",
5558
".kokoro/test-samples.sh",
5659
".kokoro/trampoline.sh",
60+
".kokoro/trampoline_v2.sh",
61+
".trampolinerc",
5762
"CODE_OF_CONDUCT.md",
5863
"CONTRIBUTING.rst",
5964
"LICENSE",

0 commit comments

Comments
 (0)