Skip to content

Commit

Permalink
Documentation: Migrate to Furo theme
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 27, 2024
1 parent ca928be commit a793c52
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
alabaster<0.8
furo
jinja2<3.2
markupsafe<4
readme-renderer<45
Expand Down
4 changes: 2 additions & 2 deletions docs/source/_templates/hacks.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
}

h1 {
font-family: "Mercury Text G1 A", "Mercury Text G1 B" !important;
/* font-family: "Mercury Text G1 A", "Mercury Text G1 B" !important; */
font-style: normal !important;
font-weight: 600 !important;
}

.section {
font-family: "Mercury Text G1 A", "Mercury Text G1 B" !important;
/* font-family: "Mercury Text G1 A", "Mercury Text G1 B" !important; */
font-style: normal !important;
font-weight: 400 !important;
}
Expand Down
25 changes: 15 additions & 10 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,29 +92,34 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "alabaster"
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 = {
"show_powered_by": False,
"github_user": "kennethreitz",
"github_repo": "responder",
"github_banner": False,
"show_related": False,
# Configure VCS.
# https://pradyunsg.me/furo/customisation/top-of-page-buttons/#with-popular-vcs-hosts
"source_repository": "https://github.com/kennethreitz/responder/",
"source_branch": "main",
"source_directory": "docs/source/",
}


html_sidebars = {
"index": ["sidebarintro.html", "sourcelink.html", "searchbox.html", "hacks.html"],
"index": [
"sidebarintro.html",
#"sourcelink.html",
#"searchbox.html",
"hacks.html",
],
"**": [
"sidebarlogo.html",
"localtoc.html",
"relations.html",
"sourcelink.html",
"searchbox.html",
#"relations.html",
#"sourcelink.html",
#"searchbox.html",
"hacks.html",
],
}
Expand Down

0 comments on commit a793c52

Please sign in to comment.