Commit 4e848554 authored by Simon Boyé's avatar Simon Boyé

Doc: Added a clean changelog page and fixed images copy.

parent 463c2227
......@@ -58,16 +58,21 @@ add_custom_target(vitelottes_vg_mesh_renderer_shaders
find_package(Doxygen)
if(DOXYGEN_FOUND)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doc-src/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
add_custom_target(doc
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen" VERBATIM
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/doc-src/images/
${CMAKE_CURRENT_BINARY_DIR}/doc/html/images
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG
${CMAKE_CURRENT_BINARY_DIR}/doc-src/
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/doc-src/Doxyfile.in
${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen" VERBATIM
)
message(STATUS "[Dox] Copying html image directory")
file (COPY ${CMAKE_CURRENT_SOURCE_DIR}/doc-src/images/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/doc/html/images)
message(STATUS "[Dox] Copying changelog")
file (COPY ${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/doc/html/)
endif(DOXYGEN_FOUND)
################################################################################
......
......@@ -14,7 +14,7 @@
- Added the new patate Vitelotte for mesh-based vector graphics with a diffusion solver. Comes with a few applications to experiment with this representation. <BR>
- Bugfixes and performance improvements in GLSCurvatureHelper <BR>
See the [complete changelog](./CHANGELOG) for details.
See the [complete changelog](@ref patate_changelog) for details.
\section patate_about_sec About Patate
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*!
\page patate_changelog Patate's changelog
\verbinclude CHANGELOG
*/
......@@ -765,7 +765,8 @@ EXCLUDE_SYMBOLS =
# directories that contain example code fragments that are included (see
# the \include command).
EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/examples
EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/examples \
@CMAKE_CURRENT_BINARY_DIR@/doc-src
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
......
......@@ -69,6 +69,7 @@
<tab type="namespacelist" visible="no" title="" intro=""/>
<tab type="namespacemembers" visible="no" title="" intro=""/>
</tab>
<tab type="user" visible="yes" title="Changelog" url="patate_changelog.html"/>
<tab type="user" visible="yes" title="Citations" url="citelist.html"/>
</navindex>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment