diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 1d026fc1af..c8d4a3aad4 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")