|
22 | 22 | # import sys |
23 | 23 | import sys |
24 | 24 |
|
25 | | -import sphinx_bootstrap_theme |
26 | | - |
27 | 25 | sys.path.insert(0, os.path.abspath("../")) |
28 | 26 |
|
29 | 27 | # Configure matplotlib to use non-interactive backend for documentation |
|
125 | 123 |
|
126 | 124 | # The theme to use for HTML and HTML Help pages. See the documentation for |
127 | 125 | # a list of builtin themes. |
128 | | -html_theme = "bootstrap" |
| 126 | +html_theme = "sphinx_book_theme" |
129 | 127 |
|
130 | 128 | # Theme options are theme-specific and customize the look and feel of a theme |
131 | 129 | # further. For a list of options available for each theme, see the |
132 | 130 | # documentation. |
133 | 131 | extlinks = {"github": "https://github.com/ContextLab/timecorr"} |
134 | 132 |
|
135 | 133 | html_theme_options = { |
136 | | - "source_link_position": "footer", |
137 | | - "bootswatch_theme": "yeti", |
138 | | - "navbar_sidebarrel": False, |
139 | | - "bootstrap_version": "3", |
140 | | - "navbar_links": [ |
141 | | - ("API", "api"), |
142 | | - ("Gallery", "auto_examples/index"), |
143 | | - ("Tutorials", "tutorials"), |
144 | | - ("Download", "http://www.github.com/ContextLab/timecorr", True), |
145 | | - ], |
| 134 | + "repository_url": "https://github.com/ContextLab/timecorr", |
| 135 | + "use_repository_button": True, |
| 136 | + "use_issues_button": True, |
| 137 | + "use_download_button": True, |
| 138 | + "path_to_docs": "docs/", |
| 139 | + "show_navbar_depth": 2, |
146 | 140 | } |
147 | 141 |
|
148 | | -# Add any paths that contain custom themes here, relative to this directory. |
149 | | -html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() |
| 142 | +# Add any paths that contain custom static files (such as style sheets) here, |
| 143 | +# relative to this directory. They are copied after the builtin static files, |
| 144 | +# so a file named "default.css" will overwrite the builtin "default.css". |
| 145 | +html_static_path = ['_static'] |
150 | 146 |
|
151 | 147 | # -- Options for HTMLHelp output ------------------------------------------ |
152 | 148 |
|
|
0 commit comments