diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-04-28 11:22:26 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-05-03 15:58:31 +0100 |
commit | 75850d33a0845642292d69ba6b23d82baffb9113 (patch) | |
tree | ea3652cb8eab5cbda8cda76591fb76662d0c8ad2 /libstdc++-v3 | |
parent | ffb092784fc2513c2944253efc57c27de068c8b9 (diff) |
libstdc++: Strip absolute paths from files shown in Doxygen docs
This avoids showing absolute paths from the expansion of
@srcdir@/libsupc++/ in the doxygen File List view.
libstdc++-v3/ChangeLog:
* doc/doxygen/user.cfg.in (STRIP_FROM_PATH): Remove prefixes
from header paths.
(cherry picked from commit 975e8e836ead0e9055a125a2a23463db5d847cb3)
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/doc/doxygen/user.cfg.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/doc/doxygen/user.cfg.in b/libstdc++-v3/doc/doxygen/user.cfg.in index cf8d21c4e5b..c690b515113 100644 --- a/libstdc++-v3/doc/doxygen/user.cfg.in +++ b/libstdc++-v3/doc/doxygen/user.cfg.in @@ -152,7 +152,7 @@ FULL_PATH_NAMES = NO # 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 = @srcdir@/doc/ @srcdir@/libsupc++/ include/ # 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 @@ -837,6 +837,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. +# N.B. update STRIP_FROM_PATH to sanitize paths outside the build tree. INPUT = @srcdir@/doc/doxygen/doxygroups.cc \ @srcdir@/libsupc++/compare \ @srcdir@/libsupc++/cxxabi.h \ |