Commit 1bb36723 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 712251 - Documentation for enumeration not generated

parent 6dae7242
...@@ -2103,7 +2103,8 @@ void ClassDef::writeMemberPages(OutputList &ol) ...@@ -2103,7 +2103,8 @@ void ClassDef::writeMemberPages(OutputList &ol)
MemberList *ml; MemberList *ml;
for (mli.toFirst();(ml=mli.current());++mli) for (mli.toFirst();(ml=mli.current());++mli)
{ {
if (ml->listType()&MemberListType_detailedLists) ml->countDocMembers();
if (ml->numDocMembers()>0 && (ml->listType()&MemberListType_detailedLists))
{ {
ml->writeDocumentationPage(ol,displayName(),this); ml->writeDocumentationPage(ol,displayName(),this);
} }
...@@ -2130,7 +2131,7 @@ void ClassDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const ...@@ -2130,7 +2131,7 @@ void ClassDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
for (mnii.toFirst();(mi=mnii.current());++mnii) for (mnii.toFirst();(mi=mnii.current());++mnii)
{ {
MemberDef *md=mi->memberDef; MemberDef *md=mi->memberDef;
if (md->getClassDef()==this && md->isLinkable()) if (md->getClassDef()==this && md->isLinkable() && !md->isEnumValue())
{ {
ol.writeString(" <tr><td class=\"navtab\">"); ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject()) if (md->isLinkableInProject())
......
...@@ -780,7 +780,7 @@ void FileDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const ...@@ -780,7 +780,7 @@ void FileDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
MemberDef *md; MemberDef *md;
for (mli.toFirst();(md=mli.current());++mli) for (mli.toFirst();(md=mli.current());++mli)
{ {
if (md->getFileDef()==this && md->getNamespaceDef()==0 && md->isLinkable()) if (md->getFileDef()==this && md->getNamespaceDef()==0 && md->isLinkable() && !md->isEnumValue())
{ {
ol.writeString(" <tr><td class=\"navtab\">"); ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject()) if (md->isLinkableInProject())
......
...@@ -1134,7 +1134,7 @@ void GroupDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const ...@@ -1134,7 +1134,7 @@ void GroupDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
MemberDef *md; MemberDef *md;
for (mli.toFirst();(md=mli.current());++mli) for (mli.toFirst();(md=mli.current());++mli)
{ {
if (md->getGroupDef()==this && md->isLinkable()) if (md->getGroupDef()==this && md->isLinkable() && !md->isEnumValue())
{ {
ol.writeString(" <tr><td class=\"navtab\">"); ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject()) if (md->isLinkableInProject())
......
...@@ -664,7 +664,7 @@ void NamespaceDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) co ...@@ -664,7 +664,7 @@ void NamespaceDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) co
MemberDef *md; MemberDef *md;
for (mli.toFirst();(md=mli.current());++mli) for (mli.toFirst();(md=mli.current());++mli)
{ {
if (md->getNamespaceDef()==this && md->isLinkable()) if (md->getNamespaceDef()==this && md->isLinkable() && !md->isEnumValue())
{ {
ol.writeString(" <tr><td class=\"navtab\">"); ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject()) if (md->isLinkableInProject())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment