minor doc tweaks

This commit is contained in:
Fredrik Johansson 2014-04-05 12:01:45 +02:00
parent 009a0eb918
commit b0a65420ac
4 changed files with 19 additions and 20 deletions

View file

@ -69,7 +69,10 @@ exclude_patterns = []
# The reST default role (used for this markup: `text`) to use for all documents.
default_role = 'math'
latex_preamble = '\usepackage{amsmath,amssymb}\n'
latex_preamble = r"""
\usepackage{amsmath,amssymb}
\setcounter{tocdepth}{2}
"""
primary_domain = 'c'

View file

@ -14,9 +14,7 @@ Types, macros and constants
.. type:: fmpcb_calc_func_t
Typedef for a pointer to a function with signature
.. code ::
Typedef for a pointer to a function with signature::
int func(fmpcb_ptr out, const fmpcb_t inp, void * param, long order, long prec)

View file

@ -28,9 +28,7 @@ Types, macros and constants
.. type:: fmprb_calc_func_t
Typedef for a pointer to a function with signature
.. code ::
Typedef for a pointer to a function with signature::
int func(fmprb_ptr out, const fmprb_t inp, void * param, long order, long prec)