Skip to content

Commit 369fddb

Browse files
committed
update config to match other books
1 parent 2a715b7 commit 369fddb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

conf.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ def get_version():
126126
# so a file named "default.css" will overwrite the builtin "default.css".
127127
html_static_path = ['_static']
128128

129+
130+
html_css_files = [
131+
'css/rtd_theme_mods.css',
132+
]
133+
129134
# HTML Favicon
130135
html_favicon = '_static/bridge.ico'
131136

@@ -251,8 +256,6 @@ def get_version():
251256

252257
def setup(app):
253258

254-
app.add_css_file('css/rtd_theme_mods.css')
255-
256259

257-
app.add_js_file('https://www.googletagmanager.com/gtag/js?id=G-C4RNJ35K6B')
260+
app.add_js_file('https://www.googletagmanager.com/gtag/js?id=G-C4RNJ35K6B', loading_method="async")
258261
app.add_js_file(None, body=GA_INVOKE_JS)

0 commit comments

Comments
 (0)