diff --git a/sphinx/texinputs/sphinxhowto.cls b/sphinx/texinputs/sphinxhowto.cls index f0d3e1d74..425153dd4 100644 --- a/sphinx/texinputs/sphinxhowto.cls +++ b/sphinx/texinputs/sphinxhowto.cls @@ -93,7 +93,7 @@ \newenvironment{sphinxthebibliography}[1]{% \phantomsection \begin{thebibliography}{\detokenize{#1}}% - \addcontentsline{toc}{chapter}{\bibname}}{\end{thebibliography}} + \addcontentsline{toc}{section}{\bibname}}{\end{thebibliography}} % Same for the indices. @@ -104,4 +104,4 @@ {\newenvironment{sphinxtheindex}{% \phantomsection \begin{theindex}% - \addcontentsline{toc}{chapter}{\indexname}}{\end{theindex}}} + \addcontentsline{toc}{section}{\indexname}}{\end{theindex}}}