mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
doxygen: Use relative paths in generated docs
Updated cmake to use strip the full path to the base UPM directory from generated documentation. This removes the build server full- path from UPM documentation. Old html: upm: /iotdk/jenkins/workspace/upm-doc-stable/src/moisture/moisture.h File Reference New html: upm: src/moisture/moisture.h File Reference Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
parent
01f9dd2f41
commit
8262a4203b
@ -297,6 +297,9 @@ endif()
|
||||
if (BUILDDOC)
|
||||
# Add a target to generate API documentation with Doxygen
|
||||
find_package (Doxygen REQUIRED)
|
||||
# Set the full path to documenation (used by Doxygen STRIP_FROM_PATH) to
|
||||
# generate html documentation with relative paths
|
||||
set (DOXYGEN_STRIP_FROM_PATH ${PROJECT_SOURCE_DIR})
|
||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/doxy/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
|
||||
if (BUILDSWIGJAVA)
|
||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/doxy/Doxyfile.java.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile-java @ONLY)
|
||||
|
@ -156,7 +156,7 @@ FULL_PATH_NAMES = YES
|
||||
# will be relative from the directory where doxygen is started.
|
||||
# This tag requires that the tag FULL_PATH_NAMES is set to YES.
|
||||
|
||||
STRIP_FROM_PATH =
|
||||
STRIP_FROM_PATH = @PROJECT_SOURCE_DIR@
|
||||
|
||||
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
|
||||
# path mentioned in the documentation of a class, which tells the reader which
|
||||
|
Loading…
x
Reference in New Issue
Block a user