summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2022-01-16 16:12:21 (GMT)
committerMats Wichmann <mats@linux.com>2022-01-16 16:12:21 (GMT)
commitdb3b1a5a40b1bc56abbba8970efcd75f7f1f50f9 (patch)
tree8bd5298a7dc08df1019f1f0447aed07a3ea48dcc /doc
parent7214b3d0a99f7a1e0072a4a8e94e2816e26d2cbe (diff)
downloadSCons-db3b1a5a40b1bc56abbba8970efcd75f7f1f50f9.zip
SCons-db3b1a5a40b1bc56abbba8970efcd75f7f1f50f9.tar.gz
SCons-db3b1a5a40b1bc56abbba8970efcd75f7f1f50f9.tar.bz2
Fix rst2pdf/Sphinx problem a better way
Our Sphinx config specifies the use of rst2pdf: extensions = [ ... 'rst2pdf.pdfbuilder', ... As of 0.99 we apparently need to declare a pdf stylesheet, even though we don't knowingly use that style. With that change, unpin rst2pdf again. Also upgrade lxml, leaving it pinned to a version with a comment why. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/sphinx/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py
index d6d0778..9db9095 100644
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -59,6 +59,10 @@ napoleon_include_private_with_doc = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
+# Since 0.99, rst2pdf says: "twoColumn isn't part of the default styles
+# in 0.99. You need to add the twocolumn style file."
+pdf_stylesheets = ['twocolumn']
+
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#