Skip to content

Commit cf68cc9

Browse files
committed
fix line length limit in the docs
1 parent ee42678 commit cf68cc9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/source/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
32
#
43
# ELI5 documentation build configuration file, created by
54
# sphinx-quickstart on Mon Nov 14 21:54:37 2016.
@@ -67,6 +66,13 @@ def __getattr__(cls, name):
6766
def setup(app):
6867
# see https://github.com/snide/sphinx_rtd_theme/issues/117
6968
app.add_css_file("rtfd_overrides.css")
69+
# see https://github.com/spatialaudio/nbsphinx/issues/549
70+
app.connect('env-before-read-docs', set_line_length_limit)
71+
72+
73+
def set_line_length_limit(app, env, docnames):
74+
env.settings['line_length_limit'] = 1_000_000
75+
7076

7177
suppress_warnings = ['image.nonlocal_uri']
7278

0 commit comments

Comments
 (0)