Skip to content

Commit 5323d53

Browse files
derek73claude
andcommitted
Switch docs theme from alabaster to furo
The alabaster theme is the 2014-era Sphinx default and looked dated. Furo is actively maintained, has a built-in light/dark mode toggle, and wires up view-source/edit-page links to GitHub. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent b7b728b commit 5323d53

2 files changed

Lines changed: 6 additions & 21 deletions

File tree

docs/conf.py

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -104,27 +104,12 @@
104104

105105
# The theme to use for HTML and HTML Help pages. See the documentation for
106106
# a list of builtin themes.
107-
html_theme = 'alabaster'
108-
109-
import alabaster
110-
111-
html_theme_path = [alabaster.get_path()]
112-
extensions += ['alabaster']
113-
html_theme = 'alabaster'
114-
html_sidebars = {
115-
'**': [
116-
'about.html',
117-
'navigation.html',
118-
'relations.html',
119-
'searchbox.html',
120-
'donate.html',
121-
]
122-
}
107+
html_theme = 'furo'
108+
123109
html_theme_options = {
124-
'github_user': 'derek73',
125-
'github_repo': 'python-nameparser',
126-
'travis_button': True,
127-
'analytics_id': 'UA-339019-11',
110+
'source_repository': 'https://github.com/derek73/python-nameparser/',
111+
'source_branch': 'master',
112+
'source_directory': 'docs/',
128113
}
129114

130115
# Theme options are theme-specific and customize the look and feel of a theme

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Sphinx
2-
alabaster
2+
furo

0 commit comments

Comments
 (0)