Skip to content

Commit

Permalink
Switch to furo. Closes #618.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Mar 18, 2024
1 parent 9619cf7 commit d9fe8df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 1 addition & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import os

import sphinx_py3doc_enhanced_theme

extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
Expand Down Expand Up @@ -31,18 +29,14 @@
'issue': ('https://github.com/pytest-dev/pytest-cov/issues/%s', '#'),
'pr': ('https://github.com/pytest-dev/pytest-cov/pull/%s', 'PR #'),
}
html_theme = 'sphinx_py3doc_enhanced_theme'
html_theme_path = [sphinx_py3doc_enhanced_theme.get_html_theme_path()]
html_theme = 'furo'
html_theme_options = {
'githuburl': 'https://github.com/pytest-dev/pytest-cov/',
}

html_use_smartypants = True
html_last_updated_fmt = '%b %d, %Y'
html_split_index = False
html_sidebars = {
'**': ['searchbox.html', 'globaltoc.html', 'sourcelink.html'],
}
html_short_title = f'{project}-{version}'

napoleon_use_ivar = True
Expand Down
6 changes: 2 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sphinx==7.2.6
sphinx-py3doc-enhanced-theme
docutils
jinja2<3.1
sphinx
furo
-e .

0 comments on commit d9fe8df

Please sign in to comment.