help/in/public/sphinx/build.rst

33 lines
423 B
ReStructuredText
Raw Normal View History

2017-12-02 23:02:37 +01:00
Build documentation
2019-08-06 12:00:22 +02:00
===================
2019-08-25 20:37:59 +02:00
HTML
----
2019-08-25 20:22:57 +02:00
.. code:: python3
import sphinx
sphinx.build_main([
'-E',
'-j', '2',
'-b', 'html',
'-D', 'project=Project',
'-c', conf_directory,
input_directory,
output_directory,
])
2019-08-25 20:37:59 +02:00
LaTeX
-----
.. code:: python3
'-b', 'latex',
.. todo:: turn make command into xelatex command
.. code:: shell
make PDFLATEX=xelatex -C build/latex all-pdf