| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -113,9 +113,9 @@ Coding Style | |||
| 113 | 113 | export GOOGLE_CLOUD_TESTING_BRANCH="main" | |
| 114 | 114 | ||
| 115 | 115 | By doing this, you are specifying the location of the most up-to-date | |
| 116 | - version of ``python-speech``. The the suggested remote name ``upstream`` | ||
| 117 | - should point to the official ``googleapis`` checkout and the | ||
| 118 | - the branch should be the main branch on that remote (``main``). | ||
| 116 | + version of ``python-speech``. The | ||
| 117 | + remote name ``upstream`` should point to the official ``googleapis`` | ||
| 118 | + checkout and the branch should be the default branch on that remote (``main``). | ||
| 119 | 119 | ||
| 120 | 120 | - This repository contains configuration for the | |
| 121 | 121 | `pre-commit <https://pre-commit.com/>`__ tool, which automates checking | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -76,8 +76,8 @@ | |||
| 76 | 76 | # The encoding of source files. | |
| 77 | 77 | # source_encoding = 'utf-8-sig' | |
| 78 | 78 | ||
| 79 | - # The master toctree document. | ||
| 80 | - master_doc = "index" | ||
| 79 | + # The root toctree document. | ||
| 80 | + root_doc = "index" | ||
| 81 | 81 | ||
| 82 | 82 | # General information about the project. | |
| 83 | 83 | project = "google-cloud-speech" | |
@@ -280,7 +280,7 @@ | |||
| 280 | 280 | # author, documentclass [howto, manual, or own class]). | |
| 281 | 281 | latex_documents = [ | |
| 282 | 282 | ( | |
| 283 | - master_doc, | ||
| 283 | + root_doc, | ||
| 284 | 284 | "google-cloud-speech.tex", | |
| 285 | 285 | "google-cloud-speech Documentation", | |
| 286 | 286 | author, | |
@@ -314,13 +314,7 @@ | |||
| 314 | 314 | # One entry per manual page. List of tuples | |
| 315 | 315 | # (source start file, name, description, authors, manual section). | |
| 316 | 316 | man_pages = [ | |
| 317 | - ( | ||
| 318 | - master_doc, | ||
| 319 | - "google-cloud-speech", | ||
| 320 | - "google-cloud-speech Documentation", | ||
| 321 | - [author], | ||
| 322 | - 1, | ||
| 323 | - ) | ||
| 317 | + (root_doc, "google-cloud-speech", "google-cloud-speech Documentation", [author], 1,) | ||
| 324 | 318 | ] | |
| 325 | 319 | ||
| 326 | 320 | # If true, show URL addresses after external links. | |
@@ -334,7 +328,7 @@ | |||
| 334 | 328 | # dir menu entry, description, category) | |
| 335 | 329 | texinfo_documents = [ | |
| 336 | 330 | ( | |
| 337 | - master_doc, | ||
| 331 | + root_doc, | ||
| 338 | 332 | "google-cloud-speech", | |
| 339 | 333 | "google-cloud-speech Documentation", | |
| 340 | 334 | author, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -69,32 +69,3 @@ class SpeechClient(SpeechHelpers, SpeechClient): | |||
| 69 | 69 | python.py_samples(skip_readmes=True) | |
| 70 | 70 | ||
| 71 | 71 | s.shell.run(["nox", "-s", "blacken"], hide_output=False) | |
| 72 | - | ||
| 73 | - # ---------------------------------------------------------------------------- | ||
| 74 | - # Main Branch migration | ||
| 75 | - # ---------------------------------------------------------------------------- | ||
| 76 | - | ||
| 77 | - s.replace( | ||
| 78 | - "*.rst", | ||
| 79 | - "master", | ||
| 80 | - "main" | ||
| 81 | - ) | ||
| 82 | - | ||
| 83 | - s.replace( | ||
| 84 | - "*.rst", | ||
| 85 | - "google-cloud-python/blob/main", | ||
| 86 | - "google-cloud-python/blob/master" | ||
| 87 | - ) | ||
| 88 | - | ||
| 89 | - s.replace( | ||
| 90 | - "CONTRIBUTING.rst", | ||
| 91 | - "kubernetes/community/blob/main", | ||
| 92 | - "kubernetes/community/blob/master" | ||
| 93 | - ) | ||
| 94 | - | ||
| 95 | - s.replace( | ||
| 96 | - ".kokoro/*", | ||
| 97 | - "master", | ||
| 98 | - "main" | ||
| 99 | - ) | ||
| 100 | - | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments