diff options
author | Chris Johns <chrisj@rtems.org> | 2016-11-02 16:34:32 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-11-02 16:34:32 +1100 |
commit | ce4daf9fd96ed5b4254cbc647e13d0f46a15698e (patch) | |
tree | af04183c71f8971b94c346b8086a502e3ae93359 | |
parent | RSB: Fix the heading level for the PDF. (diff) | |
download | rtems-docs-ce4daf9fd96ed5b4254cbc647e13d0f46a15698e.tar.bz2 |
Add a copyright to the PDF front page.
-rw-r--r-- | common/conf.py | 5 | ||||
-rw-r--r-- | common/rtemsstyle.sty | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/common/conf.py b/common/conf.py index 237d4c8..0587753 100644 --- a/common/conf.py +++ b/common/conf.py @@ -29,7 +29,7 @@ master_doc = 'index' # General information about the 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 # |version| and |release|, also used in various other places throughout the @@ -178,8 +178,9 @@ latex_elements = { 'papersize': 'a4paper', 'pointsize': '11pt', 'preamble': r''' +\newcommand{\rtemscopyright}{%s} \usepackage{rtemsstyle} -''' +''' % (copyright) } diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty index cca8e98..fab0aba 100644 --- a/common/rtemsstyle.sty +++ b/common/rtemsstyle.sty @@ -50,7 +50,7 @@ gobble=0, {\rm\Huge \@title \par}% {\em\LARGE \py@release\releaseinfo \par} {\large - \@date \par + Copyright \copyright \rtemscopyright \par \py@authoraddress \par }}% \end{flushright}%\par |