Skip to content

Commit cb0a5c9

Browse files
committed
Test sphinx directly from Travis
1 parent 6267187 commit cb0a5c9

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ install:
3434

3535
script:
3636
- pwd
37+
- cd src/ifcblenderexport/docs
38+
- make html
39+
- cd ..
40+
- cd ..
41+
- cd ..
3742
- cd cmake
3843
- mkdir build
3944
- cd build

docs/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ add_custom_target(Sphinx ALL
2929
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/output
3030
COMMENT "Generating documentation with Sphinx")
3131

32-
add_custom_target(ifcopenshell_python_docs ALL
33-
COMMAND make html
34-
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../src/ifcblenderexport/docs
35-
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/../src/ifcblenderexport/docs
36-
COMMENT "Generating documentation with Sphinx")
32+
# add_custom_target(ifcopenshell_python_docs ALL
33+
# COMMAND make html
34+
# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../src/ifcblenderexport/docs
35+
# OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/../src/ifcblenderexport/docs
36+
# COMMENT "Generating documentation with Sphinx")
3737

3838
else (DOXYGEN_FOUND)
3939
message("Doxygen need to be installed to generate the doxygen documentation")

0 commit comments

Comments
 (0)