docs→rtfd
This commit is contained in:
parent
7bc781ed11
commit
c7ec1dc5d1
131 changed files with 1 additions and 1 deletions
32
rtfd/public/sphinx/build.rst
Normal file
32
rtfd/public/sphinx/build.rst
Normal file
|
@ -0,0 +1,32 @@
|
|||
Build documentation
|
||||
===================
|
||||
|
||||
HTML
|
||||
----
|
||||
|
||||
.. code:: python3
|
||||
|
||||
import sphinx.cmd.build
|
||||
|
||||
sphinx.cmd.build.build_main([
|
||||
'-E',
|
||||
'-j', '2',
|
||||
'-b', 'html',
|
||||
'-D', 'project=Project',
|
||||
'-c', conf_directory,
|
||||
input_directory,
|
||||
output_directory,
|
||||
])
|
||||
|
||||
LaTeX
|
||||
-----
|
||||
|
||||
.. code:: python3
|
||||
|
||||
'-b', 'latex',
|
||||
|
||||
.. todo:: turn make command into xelatex command
|
||||
|
||||
.. code:: shell
|
||||
|
||||
make PDFLATEX=xelatex -C build/latex all-pdf
|
Loading…
Add table
Add a link
Reference in a new issue