I need to add a subtitle to an existing doc.
Sphinx docs on the internet tell me that to add a title/subtitle, I simply need to add this to my "file":
However, I don't know where to add this. If I look at my conf.py file, which currently has a project name that controls the doc title, it looks like this (title is not formatted as suggested above). Title is defined by what is in project = :
from shared.conf import restrictions
from shared.conf import *
part = "09-1076A-D"
# General information about the project.
project = u'Getting Started'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '2.6'
# The full version, including alpha/beta/rc tags.
release = version
latex_preamble += r"""
\def\part{%s}
\newcommand{\argmin}{\operatornamewithlimits{argmin}}
\newcommand{\argmax}{\operatornamewithlimits{argmax}}
\newcommand{\vc}[1]{{\pmb{#1}}}
\newcommand{\ip}[2]{\langle{#1},{#2}\rangle}
\newcommand{\sign}{\operatorname{sign}}
""" % dwave_part
#add restrictions
#latex_preamble += restrictions
latex_documents = [
('index', '%s_GettingStarted.tex' % (part), project,
name, 'manual'),
]
pngmath_latex_preamble = latex_preamble