]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
switch to book theme
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Jun 2024 18:34:53 +0000 (14:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 26 Jun 2024 18:34:53 +0000 (14:34 -0400)
Change-Id: I034a5a9511fa2c0eecedb979ea965d53632416d1

docs/build/Makefile
docs/build/_static/site_custom_css.css
docs/build/conf.py
docs/build/requirements.txt

index c87a87a41c9f546e79c2d2ab8868cbd0ecaaa35b..e26416092f842d64bdb83ae2c68f5125dd467e41 100644 (file)
@@ -4,7 +4,7 @@
 # You can set these variables from the command line.
 SPHINXOPTS    =
 SPHINXBUILD   = sphinx-build
-AUTOBUILD     = sphinx-autobuild  --port 8080  --watch ../../lib
+AUTOBUILD     = sphinx-autobuild  --port 8080  --watch ../../alembic
 PAPER         =
 BUILDDIR      = output
 
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..8703512ef51c04d5cc43396b0026ac529d461f81 100644 (file)
@@ -0,0 +1,3 @@
+.sidebar-toggle {
+    display: none  !important
+}
index 90a334e617bb4610d38e85accada44a474f65f51..859a9ef8405d69cd0edb1e11c57f209b3626e98b 100644 (file)
@@ -146,9 +146,7 @@ pygments_style = "sphinx"
 
 # 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"
+html_theme = "sphinx_book_theme"
 
 
 # Theme options are theme-specific and customize the look and feel of a theme
@@ -181,6 +179,8 @@ html_style = "nature_override.css"
 # 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'
@@ -192,10 +192,11 @@ html_static_path = ["_static"]
 # Custom sidebar templates, maps document names to template names.
 html_sidebars = {
     "**": [
+        "navbar-logo.html",
         "site_custom_sidebars.html",
-        "localtoc.html",
-        "searchbox.html",
-        "relations.html",
+        "icon-links.html",
+        "search-button-field.html",
+        "sbt-sidebar-nav.html",
     ]
 }
 
index bf162865ee5dba83c7fec1b9e01c4ec52ae8be0c..6925fcd3d5ffd30cb3c12cbb3021eaf850ebf4a6 100644 (file)
@@ -7,3 +7,6 @@ Mako
 importlib-metadata;python_version<"3.9"
 importlib-resources;python_version<"3.9"
 sphinx_copybutton==0.5.1
+sphinx-book-theme
+
+