From 898ac14ea908a182a2a5fa9b4bbe0d0c8acbf092 Mon Sep 17 00:00:00 2001 From: Jean-Matthieu Etancelin <jean-matthieu.etancelin@univ-pau.fr> Date: Mon, 23 Mar 2020 13:37:10 +0100 Subject: [PATCH] update doc --- CMakeLists.txt | 15 --------------- docs/config/hysop.doxyfile.in | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc97140d1..346beef07 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 db08da3ed..c05aa8654 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 -- GitLab