rtfd/docs/public/sphinx/build.rst

33 lines
423 B
ReStructuredText
Raw Normal View History

2017-12-02 22:02:37 +00:00
Build documentation
2019-08-06 10:00:22 +00:00
===================
2019-08-25 18:37:59 +00:00
HTML
----
2019-08-25 18:22:57 +00: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 18:37:59 +00:00
LaTeX
-----
.. code:: python3
'-b', 'latex',
.. todo:: turn make command into xelatex command
.. code:: shell
make PDFLATEX=xelatex -C build/latex all-pdf