Skip to content

Commit 2939d2e

Browse files
committed
[lldb][docs] Attempt to disable the generated GitHub button on the LLDB website
For unknown reasons the alabaster theme on the docs server is always generating a GitHub link in the side bar. Beside the privacy problems of having an iframe to some third-party service, we never configured any GitHub integration so this button just links to the GitHub main site. The button generation should be disabled by default, but as that's apparently not true in the alabaster theme on the server, this patch tries working around the issue by just explicitly turning off the GitHub integration.
1 parent 2790cbe commit 2939d2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@
130130
# further. For a list of options available for each theme, see the
131131
# documentation.
132132
html_theme_options = {
133-
'font_size': '11pt'
133+
'font_size': '11pt',
134+
# Don't generate any links to GitHub.
135+
'github_button' : 'false',
134136
}
135137

136138
# Add any paths that contain custom themes here, relative to this directory.

0 commit comments

Comments
 (0)