[PATCH] common: Support Sphinx 2.0.0

Chris Johns chrisj at rtems.org
Wed Apr 3 08:35:12 UTC 2019


On 3/4/19 6:25 pm, Sebastian Huber wrote:
> Without this chage there is no custom RTEMS title page with Sphinx
> 2.0.0.
> 
> Maybe it is better to use the 'maketitle' option:
> 

Yes but I need to get enough time to sort this out. I was heading down this path
until we received excellent advice from the sphinx community on solving the
issue we had.

> https://www.sphinx-doc.org/en/master/latex.html
> ---
>  common/rtemsstyle.sty | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
> index 15f80b5..1f88bce 100644
> --- a/common/rtemsstyle.sty
> +++ b/common/rtemsstyle.sty
> @@ -54,6 +54,7 @@ gobble=0,
>    \if at openright\cleardoublepage\else\clearpage\fi
>    \spx at tempa
>  }
> +\renewcommand{\sphinxmaketitle}{\maketitle}
>  
>  \fancypagestyle{normal}{
>    \fancyhf{}
> 

Does this work with older versions?

Chris



More information about the devel mailing list