summaryrefslogtreecommitdiffstats
path: root/doc/sphinx
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-06-30 19:33:34 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2020-06-30 19:33:34 (GMT)
commitf2fb4bb5449c1375c0cbde5d15f674a168f2b3bf (patch)
treeefd80e2bc07bcc19547a4d58eea5d4e8db8c9214 /doc/sphinx
parent073c5a23eb8505f68c5d70b92e8a0098d03158d8 (diff)
downloadSCons-f2fb4bb5449c1375c0cbde5d15f674a168f2b3bf.zip
SCons-f2fb4bb5449c1375c0cbde5d15f674a168f2b3bf.tar.gz
SCons-f2fb4bb5449c1375c0cbde5d15f674a168f2b3bf.tar.bz2
API doc builds working now. Generating SCons/__versioninfo.py but not yet using it
Diffstat (limited to 'doc/sphinx')
-rw-r--r--doc/sphinx/conf.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py
index 7cbd208..91b511d 100644
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -39,6 +39,7 @@ extensions = [
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'sphinx_rtd_theme',
+ 'rst2pdf.pdfbuilder',
]
autosummary_generate = True
@@ -142,7 +143,7 @@ htmlhelp_basename = 'SConsAPIDocs'
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
- 'papersize': 'letterpaper',
+ # 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#
@@ -201,3 +202,9 @@ texinfo_documents = [
# -- Options for Epub output -------------------------------------------------
+
+
+# -- for PDF
+# Grouping the document tree into PDF files. List of tuples
+# (source start file, target name, title, author, options).
+pdf_documents = [('index', u'scons-api', u'SCons API Docs', u'SCons Project'),]