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:
parent
87e6c840c5
commit
65c25b93fd
@ -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'))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user