Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2bec173

Browse files
committed
DOC: Put bibliography/indices in their own Part.
When the Glossary existed, they would go in there, but now they are stuck at the end of the Developer Guide. Neither was really correct, so now they are in their own Part.
1 parent cd30a70 commit 2bec173

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,12 +398,13 @@ def _check_dependencies():
398398
% One line per author on title page
399399
\DeclareRobustCommand{\and}%
400400
{\end{tabular}\kern-\tabcolsep\\\begin{tabular}[t]{c}}%
401+
\usepackage{etoolbox}
402+
\AtBeginEnvironment{sphinxthebibliography}{\appendix\part{Appendices}}
401403
\usepackage{expdlist}
402404
\let\latexdescription=\description
403405
\def\description{\latexdescription{}{} \breaklabel}
404406
% But expdlist old LaTeX package requires fixes:
405407
% 1) remove extra space
406-
\usepackage{etoolbox}
407408
\makeatletter
408409
\patchcmd\@item{{\@breaklabel} }{{\@breaklabel}}{}{}
409410
\makeatother

0 commit comments

Comments
 (0)