Skip to content

Commit cf78618

Browse files
committed
issue doxygen#11421 SHOW_GROUPED_MEMB_INC does not respect STRIP_FROM_INC_PATH
When `SHOW_GROUPED_MEMB_INC` is set the filename respects `STRIP_FROM_PATH` and not `STRIP_FROM_INC_PATH` although the documentation already say it will add a `#include` statement.
1 parent 44f85e4 commit cf78618

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/memberdef.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3367,8 +3367,12 @@ void MemberDefImpl::_writeGroupInclude(OutputList &ol,bool inGroup) const
33673367
bool showGroupedMembInc = Config_getBool(SHOW_GROUPED_MEMB_INC);
33683368
const FileDef *fd = getFileDef();
33693369
QCString nm;
3370-
if (fd) nm = getFileDef()->docName();
3371-
if (inGroup && fd && showGroupedMembInc && !nm.isEmpty())
3370+
if (inGroup && fd && showGroupedMembInc)
3371+
{
3372+
nm = fd->absFilePath();
3373+
nm = stripFromIncludePath(nm);
3374+
}
3375+
if (!nm.isEmpty())
33723376
{
33733377
ol.startParagraph();
33743378
ol.startTypewriter();

0 commit comments

Comments
 (0)