|
4 | 4 |
|
5 | 5 | import sys, os |
6 | 6 | import time |
7 | | -import sphinx_py3doc_enhanced_theme |
8 | 7 |
|
9 | 8 | # Requires sphinx >= 0.6 |
10 | 9 |
|
|
105 | 104 | # The theme to use for HTML and HTML Help pages. See the documentation for |
106 | 105 | # a list of builtin themes. |
107 | 106 | # |
108 | | -html_theme = 'sphinx_py3doc_enhanced_theme' |
109 | | -html_theme_path = [sphinx_py3doc_enhanced_theme.get_html_theme_path()] |
| 107 | +html_theme = "pydata_sphinx_theme" |
110 | 108 |
|
111 | | -# Theme options are theme-specific and customize the look and feel of a theme |
112 | | -# further. For a list of options available for each theme, see the |
113 | | -# documentation. |
114 | | -# |
| 109 | +# Not sure what all these actually do |
115 | 110 | html_theme_options = { |
116 | | - 'collapsiblesidebar': 'true', |
117 | | - 'navigation_with_keys': 'true', |
118 | | - 'body_min_width': '40%', |
119 | | - 'body_max_width': '800px', |
| 111 | + "show_nav_level": 2, |
| 112 | + "navigation_depth": 2, |
| 113 | + "navbar_align": "left", |
| 114 | + # "primary_sidebar_end": ["indices.html", "sidebar-ethical-ads.html"] |
| 115 | +} |
| 116 | + |
| 117 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars |
| 118 | +html_sidebars = { |
| 119 | + "**": ["globaltoc.html", "sidebar-nav-bs"], |
| 120 | + # "**": ["localtoc.html"], |
| 121 | + # "**": ["sidebar-nav-bs"], |
| 122 | + # "<page_pattern>": ["index", "manual-intro", "tutorials", "manual"] |
120 | 123 | } |
121 | 124 |
|
122 | 125 | # Add any paths that contain custom themes here, relative to this directory. |
|
141 | 144 | # Add any paths that contain custom static files (such as style sheets) here, |
142 | 145 | # relative to this directory. They are copied after the builtin static files, |
143 | 146 | # so a file named "default.css" will overwrite the builtin "default.css". |
144 | | -# html_static_path = ['_static'] |
| 147 | +html_static_path = ['_static'] |
| 148 | +html_css_files = ['css/custom.css'] |
145 | 149 |
|
146 | 150 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
147 | 151 | # using the given strftime format. |
|
0 commit comments