File: sphinx-body-max-width.diff

package info (click to toggle)
nose 1.3.7-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,768 kB
  • sloc: python: 15,710; makefile: 91; xml: 42; sh: 2
file content (22 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Dmitry Shachnev <mitya57@debian.org>
Date: Sat, 8 Feb 2020 13:12:45 +0300
Subject: Unset body max-width option

Sphinx 1.7+ sets it to 800px by default, which does not play nice with
our right sidebar.
---
 doc/conf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/conf.py b/doc/conf.py
index 358414f..cccfd95 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -199,6 +199,7 @@ html_theme_options = {
     'relbarbgcolor': '#fff',
     'relbartextcolor': '#20435c',
     'relbarlinkcolor': '#355f7c',
+    'body_max_width': None,
 }
 
 # the css mostly overrides this: