From 76fc0e0657434b4b952bc9a309ec86314acc6364 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2019 20:22:57 +0200 Subject: [PATCH] sphinx/build --- in/public/sphinx/build.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/in/public/sphinx/build.rst b/in/public/sphinx/build.rst index 9031cbe..098ce52 100644 --- a/in/public/sphinx/build.rst +++ b/in/public/sphinx/build.rst @@ -1,4 +1,16 @@ Build documentation =================== -.. todo:: command line and conf.py +.. code:: python3 + + import sphinx + + sphinx.build_main([ + '-E', + '-j', '2', + '-b', 'html', + '-D', 'project=Project', + '-c', conf_directory, + input_directory, + output_directory, + ])