Skip to content

Commit

Permalink
add doxygen documentation
Browse files Browse the repository at this point in the history
- integrate it in Sphinx Doc and make it available on
  readthedocs.io
  • Loading branch information
SimeonEhrig committed Jan 6, 2022
1 parent 5a508b9 commit 09d2cef
Show file tree
Hide file tree
Showing 6 changed files with 2,715 additions and 20 deletions.
11 changes: 0 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ include(CMakeDependentOption)
include(FetchContent)

option(VIKUNJA_BUILD_EXAMPLES "Build the examples" OFF)
option(VIKUNJA_BUILD_DOXYGEN "Build the doxygen documentation" OFF)
option(VIKUNJA_ENABLE_EXTRA_WARNINGS "Enable extra warnings" OFF)
option(BUILD_TESTING "Build the testing tree." OFF)
cmake_dependent_option(VIKUNJA_SYSTEM_CATCH2 "Use your local installation of Catch2 v3" ON BUILD_TESTING OFF)
Expand Down Expand Up @@ -125,16 +124,6 @@ if(${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include)

#########################################
############# Documentation #############
#########################################

# Use doxygen for api doc when available.
if(VIKUNJA_BUILD_DOXYGEN)
find_package(Doxygen REQUIRED)
doxygen_add_docs(doc include/)
endif()

#########################################
################ Testing ################
#########################################
Expand Down
Loading

0 comments on commit 09d2cef

Please sign in to comment.