From 0a5b5b4c20c87c6baacf660f44f345038e942656 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Mon, 20 Aug 2012 13:34:58 +0200 Subject: [PATCH] Moved current docs to docs/api --- docs/CMakeLists.txt | 3 +-- docs/api/CMakeLists.txt | 2 ++ docs/{ => api}/Doxyfile.in | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 docs/api/CMakeLists.txt rename docs/{ => api}/Doxyfile.in (99%) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 0466175a..370f1366 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -1,2 +1 @@ -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) -add_custom_target(docs doxygen ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Generating API documentation with Doxygen" VERBATIM) +ADD_SUBDIRECTORY(api) diff --git a/docs/api/CMakeLists.txt b/docs/api/CMakeLists.txt new file mode 100644 index 00000000..0466175a --- /dev/null +++ b/docs/api/CMakeLists.txt @@ -0,0 +1,2 @@ +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) +add_custom_target(docs doxygen ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Generating API documentation with Doxygen" VERBATIM) diff --git a/docs/Doxyfile.in b/docs/api/Doxyfile.in similarity index 99% rename from docs/Doxyfile.in rename to docs/api/Doxyfile.in index e3acb983..bcb001e9 100644 --- a/docs/Doxyfile.in +++ b/docs/api/Doxyfile.in @@ -38,7 +38,7 @@ PROJECT_NUMBER = "@PROJECT_VERSION@" # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = @CMAKE_CURRENT_SOURCE_DIR@/../docs/html +OUTPUT_DIRECTORY = @CMAKE_CURRENT_SOURCE_DIR@/../../docs/api/html # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output @@ -564,7 +564,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = @CMAKE_CURRENT_SOURCE_DIR@/../include/transport/ +INPUT = @CMAKE_CURRENT_SOURCE_DIR@/../../include/transport/ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is @@ -763,7 +763,7 @@ GENERATE_HTML = YES # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. -HTML_OUTPUT = @CMAKE_CURRENT_SOURCE_DIR@/../docs/html +HTML_OUTPUT = @CMAKE_CURRENT_SOURCE_DIR@/../../docs/api/html # The HTML_FILE_EXTENSION tag can be used to specify the file extension for # each generated HTML page (for example: .htm,.php,.asp). If it is left blank