Skip to content

Commit

Permalink
docs: switch to furo theme (#838)
Browse files Browse the repository at this point in the history
* docs: switch to furo theme

Committed via https://github.com/asottile/all-repos

* docs: customise light & dark theme logos

* docs: remove custom title
  • Loading branch information
browniebroke committed Jul 12, 2023
1 parent b00de75 commit e53bafd
Show file tree
Hide file tree
Showing 4 changed files with 555 additions and 471 deletions.
3 changes: 3 additions & 0 deletions docs/_static/img/logo-black.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions docs/conf.py
Expand Up @@ -87,21 +87,21 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_theme = "furo"

# Theme options are theme-specific and customize the look and feel of a
# theme further. For a list of options available for each theme, see the
# documentation.
#
html_theme_options = {"logo_only": True}
# theme further.
html_theme_options = {
"light_logo": "img/logo-black.svg",
"dark_logo": "img/logo-white.svg",
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

# Logo and favicon
html_logo = "_static/img/logo-white.svg"
# Favicon
html_favicon = "_static/img/favicon.ico"


Expand Down

0 comments on commit e53bafd

Please sign in to comment.