diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 1723ca929671dd168c25bdc718547e67520a75de..2ae8bb6fbd30584090b7591654f8639061cc346c 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -170,7 +170,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        = YES
+STRIP_FROM_PATH        = "@PUGS_SOURCE_DIR@/src"
 
 # 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