|
12 | 12 | import sys |
13 | 13 | from pathlib import Path |
14 | 14 |
|
15 | | -import alabaster |
16 | | - |
17 | 15 | from authors import get_authors |
18 | 16 |
|
19 | 17 | sys.path.append(str(Path(".").resolve())) |
|
74 | 72 | # This will prevent ablog from injecting its own templates into the Sphinx |
75 | 73 | # build. This is only useful when you have a custom template bridge (rare). |
76 | 74 | # See https://github.com/sunpy/ablog/pull/144 for the full context. |
77 | | -# skip_injecting_base_ablog_templates = False |
| 75 | +skip_injecting_base_ablog_templates = True |
78 | 76 |
|
79 | 77 | # -- Blog Post Related -------------------------------------------------------- |
80 | 78 |
|
|
105 | 103 | # When ``True``, links to the previous and next posts will be rendered at the |
106 | 104 | # bottom of the page. |
107 | 105 | # Default is ``True`` |
108 | | -# post_show_prev_next = True |
| 106 | +post_show_prev_next = False |
109 | 107 |
|
110 | 108 | # When ``False``, the :rst:dir:`orphan` directive is not automatically set |
111 | 109 | # for each post. Without this directive, Sphinx will warn about posts that |
|
121 | 119 | # a link to a archive pages generated for each tag, category, and year. |
122 | 120 | # In addition, there are authors.html, languages.html, and locations.html |
123 | 121 | # sidebars that link to author and location archive pages. |
124 | | -html_sidebars = { |
125 | | - "**": [ |
126 | | - "ablog/postcard.html", |
127 | | - "ablog/recentposts.html", |
128 | | - "ablog/tagcloud.html", |
129 | | - "ablog/categories.html", |
130 | | - "ablog/archives.html", |
131 | | - "searchbox.html", |
132 | | - ], |
133 | | -} |
| 122 | +# html_sidebars = {} |
134 | 123 |
|
135 | 124 | # -- Blog Feed Options -------------------------------------------------------- |
136 | 125 |
|
|
212 | 201 | "sphinx.ext.extlinks", |
213 | 202 | "sphinx.ext.intersphinx", |
214 | 203 | "sphinx.ext.todo", |
215 | | - "alabaster", |
216 | 204 | "ablog", |
217 | 205 | "myst_parser", |
218 | 206 | "sphinxcontrib.youtube", |
|
330 | 318 | # documentation. |
331 | 319 | html_theme_options = { |
332 | 320 | "accent_color": "tomato", |
| 321 | + "globaltoc_expand_depth": 1, |
333 | 322 | } |
334 | 323 |
|
335 | 324 | # Add any paths that contain custom themes here, relative to this directory. |
336 | | -html_theme_path = [alabaster.get_path()] |
| 325 | +# html_theme_path = [alabaster.get_path()] |
337 | 326 |
|
338 | 327 | # The name for this set of Sphinx documents. If None, it defaults to |
339 | 328 | # "<project> v<release> documentation". |
|
0 commit comments