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

Commit f610443

Browse files
1 parent f95b039 commit f610443

4 files changed

Lines changed: 19 additions & 13 deletions

File tree

.kokoro/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ python3 -m pip install --upgrade --quiet nox
4141
python3 -m nox --version
4242

4343
# If this is a continuous build, send the test log to the FlakyBot.
44-
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
44+
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
4545
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then
4646
cleanup() {
4747
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot

.kokoro/test-samples-impl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ for file in samples/**/requirements.txt; do
8080
EXIT=$?
8181

8282
# If this is a periodic build, send the test log to the FlakyBot.
83-
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
83+
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
8484
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
8585
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
8686
$KOKORO_GFILE_DIR/linux_amd64/flakybot

CONTRIBUTING.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ You'll have to create a development environment using a Git checkout:
5050
# Configure remotes such that you can pull changes from the googleapis/python-pubsub
5151
# repository into your local repository.
5252
$ git remote add upstream [email protected]:googleapis/python-pubsub.git
53-
# fetch and merge changes from upstream into main
53+
# fetch and merge changes from upstream into master
5454
$ git fetch upstream
55-
$ git merge upstream/main
55+
$ git merge upstream/master
5656

5757
Now your local repo is set up such that you will push changes to your GitHub
5858
repo, from which you can submit a pull request.
@@ -110,12 +110,12 @@ Coding Style
110110
variables::
111111

112112
export GOOGLE_CLOUD_TESTING_REMOTE="upstream"
113-
export GOOGLE_CLOUD_TESTING_BRANCH="main"
113+
export GOOGLE_CLOUD_TESTING_BRANCH="master"
114114

115115
By doing this, you are specifying the location of the most up-to-date
116116
version of ``python-pubsub``. The the suggested remote name ``upstream``
117117
should point to the official ``googleapis`` checkout and the
118-
the branch should be the main branch on that remote (``main``).
118+
the branch should be the main branch on that remote (``master``).
119119

120120
- This repository contains configuration for the
121121
`pre-commit <https://pre-commit.com/>`__ tool, which automates checking
@@ -185,7 +185,7 @@ The `description on PyPI`_ for the project comes directly from the
185185
``README``. Due to the reStructuredText (``rst``) parser used by
186186
PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
187187
instead of
188-
``https://github.com/googleapis/python-pubsub/blob/main/CONTRIBUTING.rst``)
188+
``https://github.com/googleapis/python-pubsub/blob/master/CONTRIBUTING.rst``)
189189
may cause problems creating links or rendering the description.
190190

191191
.. _description on PyPI: https://pypi.org/project/google-cloud-pubsub
@@ -210,7 +210,7 @@ We support:
210210

211211
Supported versions can be found in our ``noxfile.py`` `config`_.
212212

213-
.. _config: https://github.com/googleapis/python-pubsub/blob/main/noxfile.py
213+
.. _config: https://github.com/googleapis/python-pubsub/blob/master/noxfile.py
214214

215215

216216
We also explicitly decided to support Python 3 beginning with version 3.6.

docs/conf.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
# The encoding of source files.
7777
# source_encoding = 'utf-8-sig'
7878

79-
# The main toctree document.
80-
main_doc = "index"
79+
# The master toctree document.
80+
master_doc = "index"
8181

8282
# General information about the project.
8383
project = "google-cloud-pubsub"
@@ -279,7 +279,7 @@
279279
# author, documentclass [howto, manual, or own class]).
280280
latex_documents = [
281281
(
282-
main_doc,
282+
master_doc,
283283
"google-cloud-pubsub.tex",
284284
"google-cloud-pubsub Documentation",
285285
author,
@@ -313,7 +313,13 @@
313313
# One entry per manual page. List of tuples
314314
# (source start file, name, description, authors, manual section).
315315
man_pages = [
316-
(main_doc, "google-cloud-pubsub", "google-cloud-pubsub Documentation", [author], 1)
316+
(
317+
master_doc,
318+
"google-cloud-pubsub",
319+
"google-cloud-pubsub Documentation",
320+
[author],
321+
1,
322+
)
317323
]
318324

319325
# If true, show URL addresses after external links.
@@ -327,7 +333,7 @@
327333
# dir menu entry, description, category)
328334
texinfo_documents = [
329335
(
330-
main_doc,
336+
master_doc,
331337
"google-cloud-pubsub",
332338
"google-cloud-pubsub Documentation",
333339
author,

0 commit comments

Comments
 (0)