diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2017-01-02 07:54:24 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2017-01-02 07:54:55 +0300 |
commit | 143d9373e4baa6666415c8d01a840221baea4015 (patch) | |
tree | 17c94bc1364e7d08f32a0dec7c1ee55ebf8b47e1 /doc | |
parent | 32c65faeb94e86af82e6e9e71ef1539fef82709b (diff) |
API: Update to modern sphinx syntax
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index f0b5c6d832c..3cb98c677c1 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -1659,8 +1659,11 @@ def write_sphinx_conf_py(basepath): fw("\n") # needed for latex, pdf gen + fw("latex_elements = {\n") + fw(" 'papersize': 'a4paper',\n") + fw("}\n\n") + fw("latex_documents = [ ('contents', 'contents.tex', 'Blender Index', 'Blender Foundation', 'manual'), ]\n") - fw("latex_paper_size = 'a4paper'\n") file.close() |