diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-30 06:55:36 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-30 06:55:36 +0000 |
| commit | 3a4e6ff9e675e06c3fa6c7ecbf084063160f3d46 (patch) | |
| tree | bae8cb3b90369f0ab6404326ff14ffd168311d10 /docs | |
| parent | 7f42501d8956eb47922f94dae321a38037834ed3 (diff) | |
| download | pyramid-3a4e6ff9e675e06c3fa6c7ecbf084063160f3d46.tar.gz pyramid-3a4e6ff9e675e06c3fa6c7ecbf084063160f3d46.tar.bz2 pyramid-3a4e6ff9e675e06c3fa6c7ecbf084063160f3d46.zip | |
Title page fixes.
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 |
