Hi
(Excuse the newby question -- I am new to rst and sphinx and the person who
set things up here has left, so I am trying to work things out.)
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":
*****
Title
*****
subtitle
########
subsubtitle
***********
and so on
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
Thank you!!
Fiona
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.