File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -323,9 +323,10 @@ def setup(app):
323
323
# Set Cookie Banner to disabled by default
324
324
cookiebanner_enabled = False
325
325
326
+ html_context = dict ()
327
+
326
328
# Configure for local official-esque builds
327
329
if (os .environ .get ("LOCAL_DOCS_BUILD" ) == "true" ):
328
- html_context = dict ()
329
330
html_context ['display_lower_left' ] = True
330
331
331
332
html_context ['current_version' ] = version
@@ -346,6 +347,11 @@ def setup(app):
346
347
cookiebanner_enabled = True
347
348
extensions .append ('sphinx_sitemap' )
348
349
html_baseurl = os .environ .get ("FTCDOCS_URL" , default = "" )
350
+ html_context ['display_github' ] = True
351
+ html_context ['github_user' ] = 'FIRST-Tech-Challenge'
352
+ html_context ['github_repo' ] = 'ftcdocs'
353
+ html_context ['github_version' ] = 'main/docs/source/'
354
+
349
355
350
356
# Configure RTD Theme
351
357
html_theme_options = {
You can’t perform that action at this time.
0 commit comments