Skip to content

Commit 5ee2bab

Browse files
authored
chore: migrate default branch to main (googleapis#1156)
Fixes googleapis#1109
1 parent 1493107 commit 5ee2bab

File tree

10 files changed

+38
-38
lines changed

10 files changed

+38
-38
lines changed

.github/snippet-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# https://github.com/googleapis/repo-automation-bots/tree/master/packages/snippet-bot
1+
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/snippet-bot
22
ignoreFiles:
33
- "**/*.py"

.github/sync-repo-settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ rebaseMergeAllowed: true
22
squashMergeAllowed: true
33
mergeCommitAllowed: false
44
branchProtectionRules:
5-
- pattern: master
5+
- pattern: main
66
isAdminEnforced: true
77
requiredStatusCheckContexts:
88
- 'cla/google'

docs/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
# source_suffix = ['.rst', '.md']
6060
source_suffix = '.rst'
6161

62-
# The master toctree document.
63-
master_doc = 'index'
62+
# The root toctree document.
63+
root_doc = 'index'
6464

6565
# The language for content autogenerated by Sphinx. Refer to documentation
6666
# for a list of supported languages.
@@ -137,7 +137,7 @@
137137
# (source start file, target name, title,
138138
# author, documentclass [howto, manual, or own class]).
139139
latex_documents = [
140-
(master_doc, 'APIClientGeneratorforPython.tex', 'API Client Generator for Python Documentation',
140+
(root_doc, 'APIClientGeneratorforPython.tex', 'API Client Generator for Python Documentation',
141141
'Luke Sneeringer', 'manual'),
142142
]
143143

@@ -147,7 +147,7 @@
147147
# One entry per manual page. List of tuples
148148
# (source start file, name, description, authors, manual section).
149149
man_pages = [
150-
(master_doc, 'apiclientgeneratorforpython', 'API Client Generator for Python Documentation',
150+
(root_doc, 'apiclientgeneratorforpython', 'API Client Generator for Python Documentation',
151151
[author], 1)
152152
]
153153

@@ -158,7 +158,7 @@
158158
# (source start file, target name, title, author,
159159
# dir menu entry, description, category)
160160
texinfo_documents = [
161-
(master_doc, 'APIClientGeneratorforPython', 'API Client Generator for Python Documentation',
161+
(root_doc, 'APIClientGeneratorforPython', 'API Client Generator for Python Documentation',
162162
author, 'APIClientGeneratorforPython', 'One line description of project.',
163163
'Miscellaneous'),
164164
]

docs/templates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Locating Templates
2121
------------------
2222

2323
Templates are included in output simply on the basis that they exist.
24-
**There is no master list of templates**; it is assumed that every template
24+
**There is no primary list of templates**; it is assumed that every template
2525
should be rendered (unless its name begins with a single underscore).
2626

2727
.. note::

gapic/ads-templates/docs/conf.py.j2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ source_suffix = [".rst", ".md"]
6363
# The encoding of source files.
6464
# source_encoding = 'utf-8-sig'
6565

66-
# The master toctree document.
67-
master_doc = "index"
66+
# The root toctree document.
67+
root_doc = "index"
6868

6969
# General information about the project.
7070
project = u"{{ api.naming.warehouse_package_name }}"
@@ -261,7 +261,7 @@ latex_elements = {
261261
# author, documentclass [howto, manual, or own class]).
262262
latex_documents = [
263263
(
264-
master_doc,
264+
root_doc,
265265
"{{ api.naming.warehouse_package_name }}.tex",
266266
u"{{ api.naming.warehouse_package_name }} Documentation",
267267
author,
@@ -296,7 +296,7 @@ latex_documents = [
296296
# (source start file, name, description, authors, manual section).
297297
man_pages = [
298298
(
299-
master_doc,
299+
root_doc,
300300
"{{ api.naming.warehouse_package_name }}",
301301
u"{{ api.naming.long_name }} Documentation",
302302
[author],
@@ -315,7 +315,7 @@ man_pages = [
315315
# dir menu entry, description, category)
316316
texinfo_documents = [
317317
(
318-
master_doc,
318+
root_doc,
319319
"{{ api.naming.warehouse_package_name }}",
320320
u"{{ api.naming.warehouse_package_name }} Documentation",
321321
author,

gapic/templates/docs/conf.py.j2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ source_suffix = [".rst", ".md"]
6363
# The encoding of source files.
6464
# source_encoding = 'utf-8-sig'
6565

66-
# The master toctree document.
67-
master_doc = "index"
66+
# The root toctree document.
67+
root_doc = "index"
6868

6969
# General information about the project.
7070
project = u"{{ api.naming.warehouse_package_name }}"
@@ -261,7 +261,7 @@ latex_elements = {
261261
# author, documentclass [howto, manual, or own class]).
262262
latex_documents = [
263263
(
264-
master_doc,
264+
root_doc,
265265
"{{ api.naming.warehouse_package_name }}.tex",
266266
u"{{ api.naming.warehouse_package_name }} Documentation",
267267
author,
@@ -296,7 +296,7 @@ latex_documents = [
296296
# (source start file, name, description, authors, manual section).
297297
man_pages = [
298298
(
299-
master_doc,
299+
root_doc,
300300
"{{ api.naming.warehouse_package_name }}",
301301
u"{{ api.naming.long_name }} Documentation",
302302
[author],
@@ -315,7 +315,7 @@ man_pages = [
315315
# dir menu entry, description, category)
316316
texinfo_documents = [
317317
(
318-
master_doc,
318+
root_doc,
319319
"{{ api.naming.warehouse_package_name }}",
320320
u"{{ api.naming.warehouse_package_name }} Documentation",
321321
author,

tests/integration/goldens/asset/docs/conf.py

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

77-
# The master toctree document.
78-
master_doc = "index"
77+
# The root toctree document.
78+
root_doc = "index"
7979

8080
# General information about the project.
8181
project = u"google-cloud-asset"
@@ -272,7 +272,7 @@
272272
# author, documentclass [howto, manual, or own class]).
273273
latex_documents = [
274274
(
275-
master_doc,
275+
root_doc,
276276
"google-cloud-asset.tex",
277277
u"google-cloud-asset Documentation",
278278
author,
@@ -307,7 +307,7 @@
307307
# (source start file, name, description, authors, manual section).
308308
man_pages = [
309309
(
310-
master_doc,
310+
root_doc,
311311
"google-cloud-asset",
312312
u"Google Cloud Asset Documentation",
313313
[author],
@@ -326,7 +326,7 @@
326326
# dir menu entry, description, category)
327327
texinfo_documents = [
328328
(
329-
master_doc,
329+
root_doc,
330330
"google-cloud-asset",
331331
u"google-cloud-asset Documentation",
332332
author,

tests/integration/goldens/credentials/docs/conf.py

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

77-
# The master toctree document.
78-
master_doc = "index"
77+
# The root toctree document.
78+
root_doc = "index"
7979

8080
# General information about the project.
8181
project = u"google-iam-credentials"
@@ -272,7 +272,7 @@
272272
# author, documentclass [howto, manual, or own class]).
273273
latex_documents = [
274274
(
275-
master_doc,
275+
root_doc,
276276
"google-iam-credentials.tex",
277277
u"google-iam-credentials Documentation",
278278
author,
@@ -307,7 +307,7 @@
307307
# (source start file, name, description, authors, manual section).
308308
man_pages = [
309309
(
310-
master_doc,
310+
root_doc,
311311
"google-iam-credentials",
312312
u"Google Iam Credentials Documentation",
313313
[author],
@@ -326,7 +326,7 @@
326326
# dir menu entry, description, category)
327327
texinfo_documents = [
328328
(
329-
master_doc,
329+
root_doc,
330330
"google-iam-credentials",
331331
u"google-iam-credentials Documentation",
332332
author,

tests/integration/goldens/logging/docs/conf.py

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

77-
# The master toctree document.
78-
master_doc = "index"
77+
# The root toctree document.
78+
root_doc = "index"
7979

8080
# General information about the project.
8181
project = u"google-cloud-logging"
@@ -272,7 +272,7 @@
272272
# author, documentclass [howto, manual, or own class]).
273273
latex_documents = [
274274
(
275-
master_doc,
275+
root_doc,
276276
"google-cloud-logging.tex",
277277
u"google-cloud-logging Documentation",
278278
author,
@@ -307,7 +307,7 @@
307307
# (source start file, name, description, authors, manual section).
308308
man_pages = [
309309
(
310-
master_doc,
310+
root_doc,
311311
"google-cloud-logging",
312312
u"Google Cloud Logging Documentation",
313313
[author],
@@ -326,7 +326,7 @@
326326
# dir menu entry, description, category)
327327
texinfo_documents = [
328328
(
329-
master_doc,
329+
root_doc,
330330
"google-cloud-logging",
331331
u"google-cloud-logging Documentation",
332332
author,

tests/integration/goldens/redis/docs/conf.py

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

77-
# The master toctree document.
78-
master_doc = "index"
77+
# The root toctree document.
78+
root_doc = "index"
7979

8080
# General information about the project.
8181
project = u"google-cloud-redis"
@@ -272,7 +272,7 @@
272272
# author, documentclass [howto, manual, or own class]).
273273
latex_documents = [
274274
(
275-
master_doc,
275+
root_doc,
276276
"google-cloud-redis.tex",
277277
u"google-cloud-redis Documentation",
278278
author,
@@ -307,7 +307,7 @@
307307
# (source start file, name, description, authors, manual section).
308308
man_pages = [
309309
(
310-
master_doc,
310+
root_doc,
311311
"google-cloud-redis",
312312
u"Google Cloud Redis Documentation",
313313
[author],
@@ -326,7 +326,7 @@
326326
# dir menu entry, description, category)
327327
texinfo_documents = [
328328
(
329-
master_doc,
329+
root_doc,
330330
"google-cloud-redis",
331331
u"google-cloud-redis Documentation",
332332
author,

0 commit comments

Comments
 (0)