custom js to hide non backwards compatible header in 02x docs

This commit is contained in:
Lucy Cifferello
2022-02-14 14:13:31 -07:00
parent a9962d6171
commit d4de595ff9
2 changed files with 23 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ notfound_template = "404.html"
TAGS = []
smv_tag_whitelist = multiversion_regex_builder(TAGS)
# Whitelist pattern for branches (set to None to ignore all branches)
BRANCHES = ["versioning", "master"]
BRANCHES = ["integration/0.3.0", "master"]
smv_branch_whitelist = multiversion_regex_builder(BRANCHES)
# Defines which version is considered to be the latest stable version.
# Must be listed in smv_tag_whitelist or smv_branch_whitelist.
@@ -97,7 +97,7 @@ html_theme_options = {
"banner_button_text": "Learn more",
"banner_button_url": "https://docs.start9.com/latest",
"banner_icon_path": "_static/logo.png",
"banner_title_text": "Start9 Docs 0.3.0 is now released 🥳",
"banner_title_text": "Start9 0.3.0 is now released 🥳",
"hide_edit_this_page_button": "false",
"hide_sidebar_index": "true",
"hide_banner": "true",
@@ -107,7 +107,6 @@ html_theme_options = {
"site_description": "Start9 Product Documentation and Education Guides",
}
# Last updated format
html_last_updated_fmt = "%d %b %Y"
@@ -118,10 +117,10 @@ templates_path = ['_templates']
html_sidebars = {"**": ["side-nav.html"]}
# Output file base name for HTML help builder.
htmlhelp_basename = "Start9Documentationdoc"
htmlhelp_basename = "Start9Documentation"
# URL which points to the root of the HTML documentation.
html_baseurl = "https://docs.start9.com"
html_baseurl = "https://start9.com"
# Dictionary of values to pass into the template engines context for all pages
html_context = {"html_baseurl": html_baseurl}
@@ -135,4 +134,6 @@ html_logo = "_static/logo.png"
html_title = "Docs"
html_favicon = "_static/favicon.ico"
html_favicon = "_static/favicon.ico"
html_js_files = ["custom.js"]