Permalink
Browse files

Bug 712251 - Documentation for enumeration not generated

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Apr 20, 2014
1 parent 6dae724 commit 1bb36723a522b371810606c2f6504d0374a7b027
Showing with 6 additions and 5 deletions.
  1. +3 −2 src/classdef.cpp
  2. +1 −1 src/filedef.cpp
  3. +1 −1 src/groupdef.cpp
  4. +1 −1 src/namespacedef.cpp
View
@@ -2103,7 +2103,8 @@ void ClassDef::writeMemberPages(OutputList &ol)
MemberList *ml;
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);
}
@@ -2130,7 +2131,7 @@ void ClassDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
for (mnii.toFirst();(mi=mnii.current());++mnii)
{
MemberDef *md=mi->memberDef;
if (md->getClassDef()==this && md->isLinkable())
if (md->getClassDef()==this && md->isLinkable() && !md->isEnumValue())
{
ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject())
View
@@ -780,7 +780,7 @@ void FileDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
MemberDef *md;
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\">");
if (md->isLinkableInProject())
View
@@ -1134,7 +1134,7 @@ void GroupDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
MemberDef *md;
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\">");
if (md->isLinkableInProject())
View
@@ -664,7 +664,7 @@ void NamespaceDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) co
MemberDef *md;
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\">");
if (md->isLinkableInProject())

1 comment on commit 1bb3672

@akfkmupiwu

This comment has been minimized.

akfkmupiwu commented on 1bb3672 Dec 18, 2014

I am not able to generate enum document by using 1.8.8

Please sign in to comment.