Skip to content

Commit

Permalink
Hide sidebar when browsing episodes (to avoid long menu at the top)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Apr 14, 2022
1 parent 5342826 commit e0dc8ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _static/switcher.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"name": "main",
"name": "dev",
"version": "latest",
"url": "https://common-workflow-languageuser-guide.readthedocs.io/en/latest/"
}
Expand Down
16 changes: 11 additions & 5 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@
html_logo = '_static/images/logos/cwl/CWL-Logo-HD-cropped2.png'
html_favicon = '_static/images/favicons/cwl/favicon.ico'

html_sidebars = {
"_episodes/*": []
}

html_theme_options = {
"icon_links": [
{
Expand All @@ -98,38 +102,40 @@
"icon": "fab fa-github-square",
},
],
"navbar_end": ["version-switcher", "navbar-icon-links"],
"switcher": {
"json_url": json_url,
"version_match": version_match,
},
"footer_items": ["copyright"],
"use_edit_page_button": True,
"navbar_align": "left",
"navbar_end": ["version-switcher", "navbar-icon-links"],
"show_nav_level": 2,
"navigation_depth": 2,
"collapse_navigation": True,
"show_prev_next": True,
"favicons": [
{
"rel": "icon",
"sizes": "16x16",
"href": "images/favicons/cwl/favicon-16x16.png"
},
{
{
"rel": "icon",
"sizes": "32x32",
"href": "images/favicons/cwl/favicon-32x32.png"
},
{
{
"rel": "icon",
"sizes": "96x96",
"href": "images/favicons/cwl/favicon-96x96.png"
},
{
{
"rel": "icon",
"sizes": "128x128",
"href": "images/favicons/cwl/favicon-128.png"
},
{
{
"rel": "icon",
"sizes": "196x196",
"href": "images/favicons/cwl/favicon-196x196.png"
Expand Down

0 comments on commit e0dc8ad

Please sign in to comment.