|
4 | 4 |
|
5 | 5 | Author: Akshay Mestry <xa@mes3.dev> |
6 | 6 | Created on: 21 February, 2025 |
7 | | -Last updated on: 13 February, 2026 |
| 7 | +Last updated on: 14 February, 2026 |
8 | 8 |
|
9 | 9 | This module serves as the primary entry point for the Akshay's Corner |
10 | 10 | Sphinx Theme. It is responsible for initialising the theme, configuring |
|
27 | 27 | [1] Override styles for `sphinx_design` extension by using a |
28 | 28 | custom CSS. |
29 | 29 | [2] Override styles for `sphinx_docsearch` extension by using a |
30 | | - custom CSS. |
| 30 | + custom CSS (deprecated, removed in February 2026). |
31 | 31 |
|
32 | 32 | .. versionchanged:: 27.8.2025 |
33 | 33 |
|
|
51 | 51 | instead of `base`, like before. This allows to make the |
52 | 52 | development simple and easy to follow by keeping the templates |
53 | 53 | (html/jinja2 templates) separate then the styling components. |
| 54 | +.. versionchanged:: 14.2.2026 |
| 55 | +
|
| 56 | + [1] This theme now has a name, `Kaamiki`. |
| 57 | + [2] Officially dropped support for `DocSearch`. |
54 | 58 | """ |
55 | 59 |
|
56 | 60 | from __future__ import annotations |
|
74 | 78 | from theme.extensions.utils import env_before_read_docs |
75 | 79 | from theme.extensions.utils import last_updated_date |
76 | 80 |
|
77 | | - |
78 | 81 | if t.TYPE_CHECKING: |
79 | 82 | import types |
80 | 83 |
|
|
83 | 86 |
|
84 | 87 | logger = logging.getLogger(__name__) |
85 | 88 |
|
86 | | -version: str = "14.01.2026" |
87 | | -theme_name: t.Final[str] = "theme" |
| 89 | +version: str = "14.02.2026" |
| 90 | +theme_name: t.Final[str] = "kaamiki" |
88 | 91 | theme_path = p.join(p.abspath(p.dirname(__file__)), "base", "templates") |
89 | 92 | supported_extensions: t.Sequence[str] = ( |
90 | 93 | "sphinx_carousel.carousel", |
91 | 94 | "sphinx_design", |
92 | 95 | "sphinxext.opengraph", |
93 | 96 | ) |
94 | 97 |
|
95 | | - |
96 | 98 | unmodified = StandaloneHTMLBuilder.copy_theme_static_files |
97 | 99 |
|
98 | 100 |
|
@@ -180,7 +182,6 @@ def setup(app: Sphinx) -> dict[str, str | bool]: |
180 | 182 | app.setup_extension(extension) |
181 | 183 | app.add_html_theme(theme_name, theme_path) |
182 | 184 | app.add_css_file("sphinx-design.css", priority=800) |
183 | | - app.add_css_file("doc-search.css", priority=800) |
184 | 185 | app.add_js_file("base.js", loading_method="defer") |
185 | 186 | app.add_js_file("theme.js", loading_method="defer") |
186 | 187 | for role in inspect.getmembers(roles, inspect.isfunction): |
|
0 commit comments