Add a copyright to the PDF front page.

This commit is contained in:
Chris Johns 2016-11-02 16:34:32 +11:00
parent 9742e45add
commit ce4daf9fd9
2 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ master_doc = 'index'
# General information about the project. # General information about the project.
project = u'RTEMS Documentation Project' project = u'RTEMS Documentation Project'
copyright = u'2016, RTEMS Projecti (built %s)' % (datetime.date.today().strftime('%d %b %Y')) copyright = u'2016, RTEMS Project (built %s)' % (datetime.date.today().strftime('%d %b %Y'))
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
@ -178,8 +178,9 @@ latex_elements = {
'papersize': 'a4paper', 'papersize': 'a4paper',
'pointsize': '11pt', 'pointsize': '11pt',
'preamble': r''' 'preamble': r'''
\newcommand{\rtemscopyright}{%s}
\usepackage{rtemsstyle} \usepackage{rtemsstyle}
''' ''' % (copyright)
} }

View File

@ -50,7 +50,7 @@ gobble=0,
{\rm\Huge \@title \par}% {\rm\Huge \@title \par}%
{\em\LARGE \py@release\releaseinfo \par} {\em\LARGE \py@release\releaseinfo \par}
{\large {\large
\@date \par Copyright \copyright \rtemscopyright \par
\py@authoraddress \par \py@authoraddress \par
}}% }}%
\end{flushright}%\par \end{flushright}%\par