rtfd/in/public/sphinx/configure.rst
2019-08-25 19:31:15 +02:00

34 lines
623 B
ReStructuredText

Configure documentation
=======================
MarkDown
--------
.. code:: python3
source_parsers = {
'.md': 'recommonmark.parser.CommonMarkParser',
}
source_suffix = ['.rst', '.md']
LaTeX
-----
.. code:: python3
latex_elements = {
'fontenc': r'\usepackage{fontspec}',
'fontpkg': r'''
\setmainfont{DejaVu Serif}
\setsansfont{DejaVu Sans}
\setmonofont{DejaVu Sans Mono}
''',
'papersize': 'a4paper',
'pointsize': '12pt',
}
latex_documents = [
(master_doc, 'FileName.tex', 'Title',
'Author', 'howto/manual'),
]
latex_use_parts = False
latex_keep_old_macro_names = False