2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

sphinx docs: disabled generating 2nd pdf with kea messages when building is made on ReadTheDocs site - attempt 2

This commit is contained in:
Michal Nowikowski 2019-08-13 15:09:52 +02:00
parent 87e6c840c5
commit 65c25b93fd

View 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'))