Skip to content

Commit 721d7d8

Browse files
author
Jim Fulton
committed
rename default branch to main in docs/conf.py
1 parent 951e5fc commit 721d7d8

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

docs/conf.py

Lines changed: 5 additions & 11 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 main toctree document.
80+
main_doc = "index"
8181

8282
# General information about the project.
8383
project = "sqlalchemy-bigquery"
@@ -280,7 +280,7 @@
280280
# author, documentclass [howto, manual, or own class]).
281281
latex_documents = [
282282
(
283-
master_doc,
283+
main_doc,
284284
"sqlalchemy-bigquery.tex",
285285
"sqlalchemy-bigquery Documentation",
286286
author,
@@ -314,13 +314,7 @@
314314
# One entry per manual page. List of tuples
315315
# (source start file, name, description, authors, manual section).
316316
man_pages = [
317-
(
318-
master_doc,
319-
"sqlalchemy-bigquery",
320-
"sqlalchemy-bigquery Documentation",
321-
[author],
322-
1,
323-
)
317+
(main_doc, "sqlalchemy-bigquery", "sqlalchemy-bigquery Documentation", [author], 1,)
324318
]
325319

326320
# If true, show URL addresses after external links.
@@ -334,7 +328,7 @@
334328
# dir menu entry, description, category)
335329
texinfo_documents = [
336330
(
337-
master_doc,
331+
main_doc,
338332
"sqlalchemy-bigquery",
339333
"sqlalchemy-bigquery Documentation",
340334
author,

owlbot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ def compliance(session):
238238
"blob/main/noxfile.py",
239239
)
240240

241+
s.replace("docs/conf.py", "master", "main")
242+
241243
# ----------------------------------------------------------------------------
242244
# Final cleanup
243245
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)