File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838
3939# The theme to use for HTML and HTML Help pages. See the documentation for
4040# a list of builtin themes.
41- html_theme = 'sphinx_rtd_theme '
41+ html_theme = 'furo '
4242
4343html_theme_options = {
44- 'collapse_navigation' : False ,
44+ 'top_of_page_buttons' : ['edit' ],
45+ 'source_edit_link' : 'https://github.com/Kozea/cssselect2/edit/main/docs/{filename}' ,
4546}
4647
4748# Favicon URL
5556# These paths are either relative to html_static_path
5657# or fully qualified paths (eg. https://...)
5758html_css_files = [
58- 'https://www.courtbouillon.org/static/docs.css' ,
59+ 'https://www.courtbouillon.org/static/docs-furo .css' ,
5960]
6061
6162# Output file base name for HTML help builder.
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ cssselect2
77
88.. toctree ::
99 :caption: Documentation
10- :maxdepth: 3
10+ :maxdepth: 2
1111
1212 first_steps
1313 api_reference
1414
1515.. toctree ::
1616 :caption: Extra Information
17- :maxdepth: 3
17+ :maxdepth: 2
1818
1919 changelog
2020 contribute
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Changelog = 'https://github.com/Kozea/cssselect2/releases'
4040Donation = ' https://opencollective.com/courtbouillon'
4141
4242[project .optional-dependencies ]
43- doc = [' sphinx' , ' sphinx_rtd_theme ' ]
43+ doc = [' sphinx' , ' furo ' ]
4444test = [' pytest' , ' ruff' ]
4545
4646[tool .flit .sdist ]
You can’t perform that action at this time.
0 commit comments