From: Michal Nowikowski Date: Tue, 13 Aug 2019 13:09:52 +0000 (+0200) Subject: sphinx docs: disabled generating 2nd pdf with kea messages when building is made... X-Git-Tag: Kea-1.6.0~41^2~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65c25b93fde9d5ff9ffff9cf4529e685bc6675ed;p=thirdparty%2Fkea.git sphinx docs: disabled generating 2nd pdf with kea messages when building is made on ReadTheDocs site - attempt 2 --- diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index 07ce5c079d..ba0a849e50 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -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'))