From f98a0215d53d6eba1374f0fb82fdcd135210b757 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Thu, 10 Jan 2019 13:11:19 -0600 Subject: [PATCH] Add RTD pdf format --- .readthedocs.yml | 2 +- doc/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 19b6eca259..31904d73ed 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,4 +1,4 @@ -formats: [] +formats: [pdf] python: version: 3 diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 67f25607c3..215b2c9e4f 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,6 +1,6 @@ set(html_output_dir ${CMAKE_CURRENT_BINARY_DIR}/html) -add_custom_target(bro-doc-html +add_custom_target(zeek-doc-html COMMAND sphinx-build -b html -c ${CMAKE_CURRENT_SOURCE_DIR} @@ -17,4 +17,4 @@ if (NOT TARGET doc) add_custom_target(doc) endif () -add_dependencies(doc bro-doc-html) +add_dependencies(doc zeek-doc-html)