diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/conf.py | 16 | ||||
| -rw-r--r-- | docs/copyright.rst | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py index e53faa99e..cf109b63a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -228,6 +228,20 @@ _PREAMBLE = r""" \renewcommand{\footrulewidth}{0pt}% not footer line \fancyfoot[C]{\thepage}% like fancy style } + +\makeatletter +\def\@subtitle{\relax} +\newcommand{\subtitle}[1]{\gdef\@subtitle{#1}} +\renewcommand{\maketitle}{ + \begin{titlepage} + {\rm\Huge\@title\par} + {\em\large\py@release\releaseinfo\par} + \if\@subtitle\relax\else\large\@subtitle\par\fi + {\large\@author\par} + \end{titlepage} +} +\makeatother + \sloppy """ @@ -235,6 +249,8 @@ latex_elements = { 'preamble': _PREAMBLE, 'wrapperclass':'book', 'date':'', + 'releasename':'Version', + 'title':r'The repoze.bfg Web Application \newline Framework', } from docutils import nodes diff --git a/docs/copyright.rst b/docs/copyright.rst index 4ab7e97cd..3d210b798 100644 --- a/docs/copyright.rst +++ b/docs/copyright.rst @@ -9,6 +9,8 @@ Copyright © 2008-2010, Agendaless Consulting. ISBN-13: 978-0-615-34537-6 +First publishing: 2010 + All rights reserved. This material may be copied or distributed only subject to the terms and conditions set forth in the `Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License |
