File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212# add these directories to sys.path here. If the directory is relative to the
1313# documentation root, use os.path.abspath to make it absolute, like shown here.
1414#
15- # import os
16- # import sys
15+ import os
16+ import sys
1717#sys.path.insert(0, os.path.abspath('.'))
1818import sphinx_rtd_theme
1919
9898# documentation.
9999#
100100# html_theme_options = {}
101- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
101+ # html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
102102
103103# (Optional) tweak how deep the nav goes, whether sections collapse, etc.
104104html_theme_options = {
105- "collapse_navigation" : False , # keep the full tree expanded
105+ "collapse_navigation" : True , # keep the full tree expanded
106106 "navigation_depth" : 4 , # how many levels to show
107107 "sticky_navigation" : True , # nav stays visible on scroll
108- "titles_only" : False , # show section titles too
108+ "titles_only" : True , # show section titles too
109+ "show_toc_level" : 2 ,
110+
109111}
110112
111113
112114# Add any paths that contain custom static files (such as style sheets) here,
113115# relative to this directory. They are copied after the builtin static files,
114116# so a file named "default.css" will overwrite the builtin "default.css".
115- html_static_path = ['_static' ]
117+ #html_static_path = ['_static']
118+ html_static_path = []
116119
117120html_context = {
118121 'css_files' : [
You can’t perform that action at this time.
0 commit comments