mirror of
				https://github.com/eclipse/upm.git
				synced 2025-11-04 09:05:34 +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:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user