common: fix title page

Sphinx changed the default behavior of maketitle. Provide our
own rtemsmaketitle command and use it instead.
This commit is contained in:
Gedare Bloom 2020-04-03 16:55:39 -06:00 committed by Chris Johns
parent ec9457f604
commit fb3644c14b
2 changed files with 2 additions and 1 deletions

View File

@ -193,6 +193,7 @@ latex_elements = {
\newcommand{\rtemscopyright}{%s}
\usepackage{rtemsstyle}
''' % (copyright),
'maketitle': r'\rtemsmaketitle',
'parsedliteralwraps': True,
}

View File

@ -20,7 +20,7 @@ numbersep=5pt,
gobble=0,
}
\renewcommand{\maketitle}{%
\newcommand{\rtemsmaketitle}{%
\let\spx@tempa\relax
\ifHy@pageanchor\def\spx@tempa{\Hy@pageanchortrue}\fi
\hypersetup{pageanchor=false}% avoid duplicate destination warnings