mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Put doc title and release in the header.
This commit is contained in:
@@ -78,7 +78,7 @@
|
|||||||
\@thanks
|
\@thanks
|
||||||
\setcounter{footnote}{0}
|
\setcounter{footnote}{0}
|
||||||
\let\thanks\relax\let\maketitle\relax
|
\let\thanks\relax\let\maketitle\relax
|
||||||
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
|
%\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
\end{titlepage}%
|
\end{titlepage}%
|
||||||
\setcounter{footnote}{0}%
|
\setcounter{footnote}{0}%
|
||||||
\let\thanks\relax\let\maketitle\relax
|
\let\thanks\relax\let\maketitle\relax
|
||||||
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
|
%\gdef\@thanks{}\gdef\@author{}\gdef\@title{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -179,7 +179,8 @@
|
|||||||
\fancyfoot[LE,RO]{{\py@HeaderFamily\thepage}}
|
\fancyfoot[LE,RO]{{\py@HeaderFamily\thepage}}
|
||||||
\fancyfoot[LO]{{\py@HeaderFamily\nouppercase{\rightmark}}}
|
\fancyfoot[LO]{{\py@HeaderFamily\nouppercase{\rightmark}}}
|
||||||
\fancyfoot[RE]{{\py@HeaderFamily\nouppercase{\leftmark}}}
|
\fancyfoot[RE]{{\py@HeaderFamily\nouppercase{\leftmark}}}
|
||||||
\renewcommand{\headrulewidth}{0pt}
|
\fancyhead[LE,RO]{{\py@HeaderFamily \@title, \py@release}}
|
||||||
|
\renewcommand{\headrulewidth}{0.4pt}
|
||||||
\renewcommand{\footrulewidth}{0.4pt}
|
\renewcommand{\footrulewidth}{0.4pt}
|
||||||
}
|
}
|
||||||
% Update the plain style so we get the page number & footer line,
|
% Update the plain style so we get the page number & footer line,
|
||||||
|
|||||||
Reference in New Issue
Block a user