You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-service-identity/SOURCES/0001-Revert-theme-change.patch

57 lines
1.7 KiB

From 18b24292779f8548198d3e4ada2e52d7669607e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
Date: Mon, 24 May 2021 13:58:40 +0200
Subject: [PATCH] Revert theme change"
---
docs/conf.py | 11 +++++++++--
setup.py | 2 +--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 1517620..e9745c6 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -117,7 +117,7 @@ exclude_patterns = ["_build"]
# show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
-# pygments_style = "sphinx"
+pygments_style = "sphinx"
# A list of ignored prefixes for module index sorting.
# modindex_common_prefix = []
@@ -131,7 +131,14 @@ exclude_patterns = ["_build"]
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = "furo"
+html_theme = "alabaster"
+html_theme_options = {
+ "font_family": '"Avenir Next", Calibri, "PT Sans", sans-serif',
+ "head_font_family": '"Avenir Next", Calibri, "PT Sans", sans-serif',
+ "font_size": "18px",
+ "page_width": "980px",
+ "show_relbars": True,
+}
# 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
diff --git a/setup.py b/setup.py
index 921725a..29012ef 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +46,7 @@ INSTALL_REQUIRES = [
EXTRAS_REQUIRE = {
"idna": ["idna"],
"tests": ["coverage[toml]>=5.0.2", "pytest"],
- "docs": ["sphinx", "furo"],
+ "docs": ["sphinx"],
}
EXTRAS_REQUIRE["dev"] = (
EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["docs"] + ["idna", "pyOpenSSL"]
--
2.31.1