Remove unneeded \phantomsection (refs: review comment of #3064)

This commit is contained in:
Takeshi KOMIYA 2016-10-20 11:40:47 +09:00
parent 6e5964ac27
commit aa06495b61
2 changed files with 0 additions and 2 deletions

View File

@ -91,7 +91,6 @@
% For an article document class this environment is a section, % For an article document class this environment is a section,
% so no page break before it. % so no page break before it.
\newenvironment{sphinxthebibliography}[1]{% \newenvironment{sphinxthebibliography}[1]{%
\phantomsection
\begin{thebibliography}{\detokenize{#1}}% \begin{thebibliography}{\detokenize{#1}}%
\addcontentsline{toc}{section}{\bibname}}{\end{thebibliography}} \addcontentsline{toc}{section}{\bibname}}{\end{thebibliography}}

View File

@ -109,7 +109,6 @@
% For a report document class this environment is a chapter. % For a report document class this environment is a chapter.
\newenvironment{sphinxthebibliography}[1]{% \newenvironment{sphinxthebibliography}[1]{%
\if@openright\cleardoublepage\else\clearpage\fi \if@openright\cleardoublepage\else\clearpage\fi
\phantomsection
\begin{thebibliography}{\detokenize{#1}}% \begin{thebibliography}{\detokenize{#1}}%
\addcontentsline{toc}{chapter}{\bibname}}{\end{thebibliography}} \addcontentsline{toc}{chapter}{\bibname}}{\end{thebibliography}}