|
109 | 109 | excludes=[
|
110 | 110 | "noxfile.py",
|
111 | 111 | "docs/multiprocessing.rst",
|
| 112 | + "docs/index.rst", |
112 | 113 | ".coveragerc",
|
113 | 114 | ".github/CODEOWNERS",
|
114 | 115 | # Include custom SNIPPETS_TESTS job for performance.
|
|
170 | 171 | ),
|
171 | 172 | )
|
172 | 173 |
|
173 |
| - |
174 |
| -# Remove the replacements below once |
175 |
| -# https://github.com/googleapis/synthtool/pull/1188 is merged |
176 |
| - |
177 |
| -# Update googleapis/repo-automation-bots repo to main in .kokoro/*.sh files |
178 |
| -s.replace( |
179 |
| - ".kokoro/*.sh", |
180 |
| - "repo-automation-bots/tree/master", |
181 |
| - "repo-automation-bots/tree/main", |
182 |
| -) |
183 |
| - |
184 |
| -# Customize CONTRIBUTING.rst to replace master with main |
185 |
| -s.replace( |
186 |
| - "CONTRIBUTING.rst", |
187 |
| - "fetch and merge changes from upstream into master", |
188 |
| - "fetch and merge changes from upstream into main", |
189 |
| -) |
190 |
| - |
191 |
| -s.replace( |
192 |
| - "CONTRIBUTING.rst", "git merge upstream/master", "git merge upstream/main", |
193 |
| -) |
194 |
| - |
195 |
| -s.replace( |
196 |
| - "CONTRIBUTING.rst", |
197 |
| - """export GOOGLE_CLOUD_TESTING_BRANCH=\"master\"""", |
198 |
| - """export GOOGLE_CLOUD_TESTING_BRANCH=\"main\"""", |
199 |
| -) |
200 |
| - |
201 |
| -s.replace( |
202 |
| - "CONTRIBUTING.rst", r"remote \(``master``\)", "remote (``main``)", |
203 |
| -) |
204 |
| - |
205 |
| -s.replace( |
206 |
| - "CONTRIBUTING.rst", "blob/master/CONTRIBUTING.rst", "blob/main/CONTRIBUTING.rst", |
207 |
| -) |
208 |
| - |
209 |
| -s.replace( |
210 |
| - "CONTRIBUTING.rst", "blob/master/noxfile.py", "blob/main/noxfile.py", |
211 |
| -) |
212 |
| - |
213 |
| -s.replace( |
214 |
| - "docs/conf.py", "master_doc", "root_doc", |
215 |
| -) |
216 |
| - |
217 |
| -s.replace( |
218 |
| - "docs/conf.py", "# The master toctree document.", "# The root toctree document.", |
219 |
| -) |
220 |
| - |
221 | 174 | s.shell.run(["nox", "-s", "blacken"], hide_output=False)
|
0 commit comments