Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 08ee4a7

Browse files
chore(python): rename default branch to main (googleapis#569)
1 parent 8a46a0f commit 08ee4a7

File tree

3 files changed

+6
-35
lines changed

3 files changed

+6
-35
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-python:latest
3-
digest: sha256:1456ea2b3b523ccff5e13030acef56d1de28f21249c62aa0f196265880338fa7
3+
digest: sha256:0ffe3bdd6c7159692df5f7744da74e5ef19966288a6bf76023e8e04e0c424d7d

docs/conf.py

Lines changed: 5 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 master toctree document.
80-
master_doc = "index"
79+
# The root toctree document.
80+
root_doc = "index"
8181

8282
# General information about the project.
8383
project = "google-cloud-storage"
@@ -280,7 +280,7 @@
280280
# author, documentclass [howto, manual, or own class]).
281281
latex_documents = [
282282
(
283-
master_doc,
283+
root_doc,
284284
"google-cloud-storage.tex",
285285
"google-cloud-storage Documentation",
286286
author,
@@ -315,7 +315,7 @@
315315
# (source start file, name, description, authors, manual section).
316316
man_pages = [
317317
(
318-
master_doc,
318+
root_doc,
319319
"google-cloud-storage",
320320
"google-cloud-storage Documentation",
321321
[author],
@@ -334,7 +334,7 @@
334334
# dir menu entry, description, category)
335335
texinfo_documents = [
336336
(
337-
master_doc,
337+
root_doc,
338338
"google-cloud-storage",
339339
"google-cloud-storage Documentation",
340340
author,

owlbot.py

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -50,32 +50,3 @@
5050
python.py_samples(skip_readmes=True)
5151

5252
s.shell.run(["nox", "-s", "blacken"], hide_output=False)
53-
54-
# ----------------------------------------------------------------------------
55-
# Main Branch migration
56-
# ----------------------------------------------------------------------------
57-
58-
s.replace(
59-
"*.rst",
60-
"master",
61-
"main"
62-
)
63-
64-
s.replace(
65-
"*.rst",
66-
"google-cloud-python/blob/main",
67-
"google-cloud-python/blob/master"
68-
)
69-
70-
s.replace(
71-
"CONTRIBUTING.rst",
72-
"kubernetes/community/blob/main",
73-
"kubernetes/community/blob/master"
74-
)
75-
76-
s.replace(
77-
".kokoro/*",
78-
"master",
79-
"main"
80-
)
81-

0 commit comments

Comments
 (0)