Test sphinx directly from Travis

This commit is contained in:
johltn
2020-10-31 20:02:04 +01:00
parent 6267187950
commit cb0a5c90e3
2 changed files with 10 additions and 5 deletions
+5
View File
@@ -34,6 +34,11 @@ install:
script:
- pwd
- cd src/ifcblenderexport/docs
- make html
- cd ..
- cd ..
- cd ..
- cd cmake
- mkdir build
- cd build
+5 -5
View File
@@ -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")