Skip to content

Commit

Permalink
Fix conf.py problems (#188)
Browse files Browse the repository at this point in the history
* Update conf.py
  • Loading branch information
uvidyadharan committed Jul 10, 2023
1 parent bbbfa5c commit 6da38f4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ def setup(app):
#app.add_css_file("css/ftc-rtl.css")
app.add_js_file("js/external-links-new-tab.js")

# Set Cookie Banner to disabled by default
cookiebanner_enabled = False

# Configure for local official-esque builds
if(os.environ.get("LOCAL_DOCS_BUILD") == "true"):
html_context = dict()
Expand All @@ -178,11 +181,6 @@ def setup(app):
extensions.append('sphinx_sitemap')
html_baseurl = os.environ.get("FTCDOCS_URL", default="")

html_context = dict()
html_context['github_user'] = 'FIRST-Tech-Challenge'
html_context['github_repo'] = 'ftcdocs'
html_context['github_version'] = 'main/docs/source/'

# Configure RTD Theme
html_theme_options = {
'navigation_depth': 5,
Expand Down

0 comments on commit 6da38f4

Please sign in to comment.