Skip to content

Commit c9e9f1b

Browse files
authored
Merge pull request #264 from derek73/docs/furo-theme
Switch docs theme from alabaster to furo
2 parents b7b728b + 128971a commit c9e9f1b

4 files changed

Lines changed: 75 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

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ dev = [
4242
"pytest (>=8)",
4343
"dill (>=0.2.5)",
4444
"sphinx (>=8)",
45+
"furo",
4546
"mypy (>=2.1)",
4647
"ruff (>=0.15)",
4748
"pytest-timeout>=2.4.0",

uv.lock

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)