Skip to content

Commit

Permalink
Use Furo theme (#1614)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnns committed Oct 16, 2023
1 parent bbaa959 commit 0fa5fed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ build:

python:
install:
- method: pip
path: .
- requirements: requirements/docs.txt
14 changes: 1 addition & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "default"
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
Expand Down Expand Up @@ -257,15 +257,3 @@

# How to display URL addresses: 'footnote', 'no', or 'inline'.
# texinfo_show_urls = 'footnote'


# see:
# https://github.com/snide/sphinx_rtd_theme#using-this-theme-locally-then-building-on-read-the-docs
on_rtd = os.environ.get("READTHEDOCS", None) == "True"

# only import and set the theme if we're building docs locally
if not on_rtd:
import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
3 changes: 3 additions & 0 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Sphinx
furo
.

0 comments on commit 0fa5fed

Please sign in to comment.