From cb0a5c90e340e32270daf32fcd64a2b631f3a272 Mon Sep 17 00:00:00 2001 From: johltn Date: Sat, 31 Oct 2020 20:02:04 +0100 Subject: [PATCH] Test sphinx directly from Travis --- .travis.yml | 5 +++++ docs/CMakeLists.txt | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8f40465447..92b3b8e9d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,11 @@ install: script: - pwd + - cd src/ifcblenderexport/docs + - make html + - cd .. + - cd .. + - cd .. - cd cmake - mkdir build - cd build diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index c8d4a3aad4..fe1662f33e 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -29,11 +29,11 @@ add_custom_target(Sphinx ALL WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/output COMMENT "Generating documentation with Sphinx") -add_custom_target(ifcopenshell_python_docs ALL - COMMAND make html - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../src/ifcblenderexport/docs - OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/../src/ifcblenderexport/docs - COMMENT "Generating documentation with Sphinx") +# add_custom_target(ifcopenshell_python_docs ALL + # COMMAND make html + # WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../src/ifcblenderexport/docs + # OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/../src/ifcblenderexport/docs + # COMMENT "Generating documentation with Sphinx") else (DOXYGEN_FOUND) message("Doxygen need to be installed to generate the doxygen documentation")