Skip to content

Commit 20d19d9

Browse files
committed
issue doxygen#11661 <tt> tags for markdown headings with inline code under a topic
1 parent fe5723b commit 20d19d9

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/groupdef.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -966,13 +966,16 @@ void GroupDefImpl::writeNestedGroups(OutputList &ol,const QCString &title)
966966
if (anc.isEmpty()) anc=gd->name(); else anc.prepend(gd->name()+"_");
967967
ol.startMemberItem(anc,OutputGenerator::MemberItemType::Normal);
968968
ol.insertMemberAlign();
969-
ol.writeObjectLink(gd->getReference(),gd->getOutputFileBase(),QCString(),gd->groupTitle());
969+
ol.startIndexItem(gd->getReference(),gd->getOutputFileBase());
970+
ol.generateDoc(gd->getDefFileName(),gd->getDefLine(),gd,nullptr,gd->groupTitle(),false,false,
971+
QCString(),true,false);
972+
ol.endIndexItem(gd->getReference(),gd->getOutputFileBase());
970973
ol.endMemberItem(OutputGenerator::MemberItemType::Normal);
971974
if (!gd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
972975
{
973976
ol.startMemberDescription(gd->getOutputFileBase());
974-
ol.generateDoc(briefFile(),briefLine(),gd,nullptr,gd->briefDescription(),FALSE,FALSE,
975-
QCString(),TRUE,FALSE);
977+
ol.generateDoc(briefFile(),briefLine(),gd,nullptr,gd->briefDescription(),false,false,
978+
QCString(),true,false);
976979
ol.endMemberDescription();
977980
}
978981
ol.endMemberDeclaration(QCString(),QCString());

src/index.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4166,15 +4166,13 @@ static void writeGroupTreeNode(OutputList &ol, const GroupDef *gd, int level, FT
41664166
ftv->incContentsDepth();
41674167
}
41684168

4169-
//ol.writeListItem();
4170-
//ol.startTextLink(gd->getOutputFileBase(),0);
4171-
//parseText(ol,gd->groupTitle());
4172-
//ol.endTextLink();
4173-
41744169
ol.startIndexListItem();
41754170
ol.startIndexItem(gd->getReference(),gd->getOutputFileBase());
4176-
ol.parseText(gd->groupTitle());
4171+
ol.generateDoc(gd->getDefFileName(),gd->getDefLine(),
4172+
gd,nullptr,gd->groupTitle(),false,false,
4173+
QCString(),true,false);
41774174
ol.endIndexItem(gd->getReference(),gd->getOutputFileBase());
4175+
41784176
if (gd->isReference())
41794177
{
41804178
ol.startTypewriter();

0 commit comments

Comments
 (0)