File: switch-doc-to-rtd-theme.patch

package info (click to toggle)
python-momepy 0.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 51,428 kB
  • sloc: python: 11,098; makefile: 35; sh: 11
file content (42 lines) | stat: -rw-r--r-- 1,526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Switch the doc to rtd theme
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2024-10-30

--- python-momepy-0.8.1.orig/docs/conf.py
+++ python-momepy-0.8.1/docs/conf.py
@@ -117,23 +117,23 @@ bibtex_reference_style = "author_year"
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-# html_theme = 'sphinx_rtd_theme'
-html_theme = "pydata_sphinx_theme"
+html_theme = 'sphinx_rtd_theme'
+# html_theme = "pydata_sphinx_theme"
 # html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
 
 # 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 = {
-    "github_url": "https://github.com/pysal/momepy",
-    "twitter_url": "https://twitter.com/martinfleis",
-    "pygment_light_style": "tango",
-    "logo": {
-        "image_light": "horizontal_logo_light.svg",
-        "image_dark": "horizontal_logo_dark.svg",
-    },
-}
+#html_theme_options = {
+#    "github_url": "https://github.com/pysal/momepy",
+#    "twitter_url": "https://twitter.com/martinfleis",
+#    "pygment_light_style": "tango",
+#    "logo": {
+#        "image_light": "horizontal_logo_light.svg",
+#        "image_dark": "horizontal_logo_dark.svg",
+#    },
+#}
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,