diff --git a/CMakeLists.txt b/CMakeLists.txt index dc97140d17d8858eab25d09fe15c4442128f73a7..346beef07d6eb701687bb1523bbf6707ab18880a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -577,21 +577,6 @@ add_custom_target(pyclean COMMAND rm -f ${PYCFILES} COMMAND rm ${CMAKE_SOURCE_DIR}/hysop/__init__.py COMMENT "clean hysop sources and build.") -# # ====== Create a Target to generate the documentation ====== -# find_package(Doxygen) -# if(DOXYGEN_FOUND) -# find_file(DOXY name doxypy.py PATH ENV{PATH}) -# if(DOXY-NOTFOUND) -# message(STATUS "Warning, doxypy seems to be missing on your system. You may not be able to properly generate the documentation.") -# endif() -# configure_file(${CMAKE_SOURCE_DIR}/docs/config/hysop.doxyfile.in ${CMAKE_BINARY_DIR}/docs/config/hysop.doxyfile) -# add_custom_target(doc COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/docs/config/hysop.doxyfile -# COMMENT "Generate hysop documentation using doxygen.") -# else() -# message(STATUS "Warning : cmake cannot find doxygen on your system. It means you will not be able to generate documentation for hysop.") -# add_custom_target(doc COMMAND echo "Doxygen was not found on your system. Documentation generation is not possible." -# COMMENT "Generate hysop documentation using doxygen.") -# endif() # ============= Tests ============= if(WITH_TESTS) diff --git a/docs/config/hysop.doxyfile.in b/docs/config/hysop.doxyfile.in index db08da3edde2751ff9b746d4988f570d7da9974f..c05aa8654dfde98f54538409b09078fc80d3f9af 100644 --- a/docs/config/hysop.doxyfile.in +++ b/docs/config/hysop.doxyfile.in @@ -51,7 +51,7 @@ PROJECT_BRIEF = "Particle Methods simulation on hybrid architectures" # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy # the logo to the output directory. -PROJECT_LOGO = @CMAKE_CURRENT_SOURCE_DIR@/sphinx/figures/logo_hysop_nb.png +PROJECT_LOGO = @CMAKE_CURRENT_SOURCE_DIR@/docs/sphinx/figures/logo_hysop_nb.png # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path # into which the generated documentation will be written. If a relative path is