File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 220220latex_logo = None
221221
222222# 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}
228242"""
229243
230244# Documents to append as an appendix to all manuals.
254268
255269################# numpydoc config ####################
256270numpydoc_show_class_members = False
257-
258-
You can’t perform that action at this time.
0 commit comments