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

Skip to content

Commit aa06495

Browse files
committed
Remove unneeded \phantomsection (refs: review comment of sphinx-doc#3064)
1 parent 6e5964a commit aa06495

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

sphinx/texinputs/sphinxhowto.cls

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
% For an article document class this environment is a section,
9292
% so no page break before it.
9393
\newenvironment{sphinxthebibliography}[1]{%
94-
\phantomsection
9594
\begin{thebibliography}{\detokenize{#1}}%
9695
\addcontentsline{toc}{section}{\bibname}}{\end{thebibliography}}
9796

sphinx/texinputs/sphinxmanual.cls

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
% For a report document class this environment is a chapter.
110110
\newenvironment{sphinxthebibliography}[1]{%
111111
\if@openright\cleardoublepage\else\clearpage\fi
112-
\phantomsection
113112
\begin{thebibliography}{\detokenize{#1}}%
114113
\addcontentsline{toc}{chapter}{\bibname}}{\end{thebibliography}}
115114

0 commit comments

Comments
 (0)