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):
323323# Set Cookie Banner to disabled by default
324324cookiebanner_enabled = False
325325
326+ html_context = dict ()
327+
326328# Configure for local official-esque builds
327329if (os .environ .get ("LOCAL_DOCS_BUILD" ) == "true" ):
328- html_context = dict ()
329330 html_context ['display_lower_left' ] = True
330331
331332 html_context ['current_version' ] = version
@@ -346,6 +347,11 @@ def setup(app):
346347 cookiebanner_enabled = True
347348 extensions .append ('sphinx_sitemap' )
348349 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+
349355
350356# Configure RTD Theme
351357html_theme_options = {
You can’t perform that action at this time.
0 commit comments