Skip to content

Commit

Permalink
Fix globaltoc settings
Browse files Browse the repository at this point in the history
and moved custom.css stuff downstream
  • Loading branch information
pllim committed May 25, 2023
1 parent 67917e0 commit 284ee0d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions sphinx_astropy/conf/v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,21 +251,9 @@ def check_sphinx_version(expected_version):
# a list of builtin themes.
html_theme = 'pydata_sphinx_theme'

# FIXME: Have to figure this out if we want left nav on main page only.
# Custom sidebar templates, maps document names to template names.
#
# Also need this _static/custom.css to remove bullet points:
# .sidebar-primary-item > ul > li.toctree-l1 {
# display: inline;
# font-size: larger;
# }
#
#html_static_path = ["_static"]
#html_css_files = ["custom.css"]
html_sidebars = {
"index": ["globaltoc.html"]
}
#globaltoc_maxdepth = -1 # FIXME: this isn't working, not sure why

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand All @@ -283,6 +271,8 @@ def check_sphinx_version(expected_version):
"icon_links": [],
"navigation_depth": 2,
"show_nav_level": 2,
"globaltoc_collapse": False,
"globaltoc_maxdepth": 2,
"use_edit_page_button": False
}

Expand Down

0 comments on commit 284ee0d

Please sign in to comment.