Skip to content

Commit 7151c0a

Browse files
committed
refactor(defaults): Remove unused DEFAULT_SIDEBARS constant
why: sphinx-gptheme bundles its own sidebar templates; config.py never sets html_sidebars (by design), so this export is dead code with no internal or external callers. what: - Remove DEFAULT_SIDEBARS dict and its docstring/doctest from defaults.py
1 parent 89faf49 commit 7151c0a

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

packages/gp-sphinx/src/gp_sphinx/defaults.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -190,24 +190,6 @@ class FontConfig(_FontConfigRequired, total=False):
190190
DEFAULT_PYGMENTS_DARK_STYLE: str = "monokai"
191191
"""Default Pygments syntax highlighting style for dark mode."""
192192

193-
DEFAULT_SIDEBARS: dict[str, list[str]] = {
194-
"**": [
195-
"sidebar/scroll-start.html",
196-
"sidebar/brand.html",
197-
"sidebar/search.html",
198-
"sidebar/navigation.html",
199-
"sidebar/projects.html",
200-
"sidebar/scroll-end.html",
201-
],
202-
}
203-
"""Default sidebar configuration for Furo theme.
204-
205-
Examples
206-
--------
207-
>>> len(DEFAULT_SIDEBARS["**"])
208-
6
209-
"""
210-
211193
DEFAULT_SPHINX_FONTS: list[FontConfig] = [
212194
{
213195
"family": "IBM Plex Sans",

0 commit comments

Comments
 (0)