Setup
-----
-> sudo apt-get install python3-sphinx python3-sphinxcontrib.spelling
+> sudo apt-get install python3-sphinx python3-sphinxcontrib.spelling
Outputing Docs
--------------
### For an epub
> make epub
+### For a pdf (Work in progress)
+> apt install latexmk # the latexpdf builder needs it
+> apt install texlive-full # Attention, this is very huge
+ # We should to list the individual packages we need
+> make latex # Generate the latex files
+> make latexpdf # Will generate the pdf file
+
+
Other useful commands
---------------------
intersphinx_mapping = {'https://docs.python.org/': None}
locale_dirs = ['../locales/']
+
+# Remove blank pages
+# https://evolvingweb.ca/blog/writing-documentation-restructured-text-and-sphinx
+latex_elements = {
+ 'classoptions': ',oneside',
+ 'babel': '\\usepackage[english]{babel}'
+}