From 438f168ea992125382f8c23eb2cd9ad3e92688a7 Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 1 Jul 2022 11:09:45 +0200 Subject: Don't reveal full path in the documentation but just the relative path In e,g, https://gudhi.inria.fr/doc/latest/struct_coefficient_field.html (in general in `../struct_coefficient_field.html`) we see lines like: ``` #include ``` and ``` The documentation for this struct was generated from the following file: /home/gailuron/workspace/gudhi/gudhi-devel/build/gudhi.3.5.0/concept/Persistent_cohomology/CoefficientField.h ``` instead of the relative names: ``` #include ``` and ``` The documentation for this struct was generated from the following file: src/Persistent_cohomology/concept/CoefficientField.h ``` (the links are pointing to the correct places in all cases.) This is corrected by stripping the path. --- src/Doxyfile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Doxyfile.in b/src/Doxyfile.in index fb68ceb1..ad4e95ca 100644 --- a/src/Doxyfile.in +++ b/src/Doxyfile.in @@ -152,7 +152,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 = @CMAKE_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 @@ -162,7 +162,8 @@ STRIP_FROM_PATH = # using the -I flag. STRIP_FROM_INC_PATH = include \ - concept + concept \ + @CMAKE_SOURCE_DIR@ # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but # less readable) file names. This can be useful is your file systems doesn't -- cgit v1.2.3