]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
sphinx docs: disabled generating 2nd pdf with kea messages when building is made... 829-sphinx-pdfs-cannot-be-built-on-readthedocs-2
authorMichal Nowikowski <godfryd@isc.org>
Tue, 13 Aug 2019 13:09:52 +0000 (15:09 +0200)
committerMichal Nowikowski <godfryd@isc.org>
Tue, 13 Aug 2019 13:09:52 +0000 (15:09 +0200)
doc/sphinx/conf.py

index 07ce5c079dfbea9d14a852556b31fc3e6fd6db8b..ba0a849e501f8494b5e03b71984e7c23c08729bc 100644 (file)
@@ -12,7 +12,7 @@
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #
-import os
+import os
 # import sys
 # sys.path.insert(0, os.path.abspath('.'))
 
@@ -153,7 +153,7 @@ latex_documents = [
     (master_doc, 'kea-arm.tex', 'Kea Administrator Reference Manual Documentation', author, 'manual'),
 ]
 
-if getenv("READTHEDOCS", "False") == "False":
+if os.getenv("READTHEDOCS", "False") == "False":
     latex_documents.append((messages_doc, 'kea-messages.tex', 'Kea Messages Manual', author, 'manual'))