File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 220
220
latex_logo = None
221
221
222
222
# Additional stuff for the LaTeX preamble.
223
- latex_preamble = """
224
- \\ usepackage{amsmath}
225
- \\ usepackage{amsfonts}
226
- \\ usepackage{amssymb}
227
- \\ usepackage{txfonts}
223
+ latex_preamble = r"""
224
+ % In the parameters section, place a newline after the Parameters
225
+ % header. (This is stolen directly from Numpy's conf.py, since it
226
+ % affects Numpy-style docstrings).
227
+ \usepackage{expdlist}
228
+ \let\latexdescription=\description
229
+ \def\description{\latexdescription{}{} \breaklabel}
230
+
231
+ \usepackage{amsmath}
232
+ \usepackage{amsfonts}
233
+ \usepackage{amssymb}
234
+ \usepackage{txfonts}
235
+
236
+ % The enumitem package provides unlimited nesting of lists and
237
+ % enums. Sphinx may use this in the future, in which case this can
238
+ % be removed. See
239
+ % https://bitbucket.org/birkenfeld/sphinx/issue/777/latex-output-too-deeply-nested
240
+ \usepackage{enumitem}
241
+ \setlistdepth{2048}
228
242
"""
229
243
230
244
# Documents to append as an appendix to all manuals.
254
268
255
269
################# numpydoc config ####################
256
270
numpydoc_show_class_members = False
257
-
258
-
You can’t perform that action at this time.
0 commit comments