From 65c25b93fde9d5ff9ffff9cf4529e685bc6675ed Mon Sep 17 00:00:00 2001 From: Michal Nowikowski Date: Tue, 13 Aug 2019 15:09:52 +0200 Subject: [PATCH] sphinx docs: disabled generating 2nd pdf with kea messages when building is made on ReadTheDocs site - attempt 2 --- doc/sphinx/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')) -- 2.47.2