Skip to content

Commit c1f3cec

Browse files
committedJan 27, 2022
google manager should be loaded async
1 parent 494727d commit c1f3cec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎Python/conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101

102102
def setup(app):
103103
app.add_css_file("my_theme.css")
104-
app.add_js_file("https://www.googletagmanager.com/gtag/js?id=UA-115029372-1")
104+
app.add_js_file(
105+
"https://www.googletagmanager.com/gtag/js?id=UA-115029372-1", loading_method="async")
105106
app.add_js_file("gtag.js")
106107

107108

@@ -168,7 +169,8 @@ def setup(app):
168169
# One entry per manual page. List of tuples
169170
# (source start file, name, description, authors, manual section).
170171
man_pages = [
171-
(master_doc, "bfundamentalsofpython", "BPython Like You Mean It", [author], 1)
172+
(master_doc, "bfundamentalsofpython",
173+
"BPython Like You Mean It", [author], 1)
172174
]
173175

174176

0 commit comments

Comments
 (0)
Failed to load comments.