Skip to content

Commit

Permalink
switch to book theme
Browse files Browse the repository at this point in the history
Change-Id: I2f5f916907be08c1eb747ed7d6fff9426c51a7ec
  • Loading branch information
zzzeek committed Jun 26, 2024
1 parent 2463cee commit 85e823e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/build/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@

# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme = "nature"

html_style = "nature_override.css"

This comment has been minimized.

Copy link
@CaselIT

CaselIT Jun 26, 2024

Member

can probably remove this file too

html_theme = "sphinx_book_theme"


# Theme options are theme-specific and customize the look and feel of a theme
Expand Down Expand Up @@ -161,6 +159,8 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

html_css_files = ["site_custom_css.css"]

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y'
Expand All @@ -176,9 +176,10 @@
html_sidebars = {
"**": [
"site_custom_sidebars.html",
"localtoc.html",
"searchbox.html",
"relations.html",
"navbar-logo.html",
"icon-links.html",
"search-button-field.html",
"sbt-sidebar-nav.html",
]
}

Expand Down
3 changes: 3 additions & 0 deletions docs/build/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ way using the `greenlet <https://pypi.org/project/greenlet/>`_ library. The sou
to adapt :func:`.awaitlet` function calls to real Python ``await`` keywords.


Contents in this Document
==========================

.. toctree::
:maxdepth: 2

Expand Down
2 changes: 2 additions & 0 deletions docs/build/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ sphinx
greenlet
typing_extensions
sphinx_copybutton==0.5.1
sphinx-book-theme



0 comments on commit 85e823e

Please sign in to comment.