diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-09-23 17:28:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-09-23 17:28:38 (GMT) |
commit | 156b0bb68fc4104792afb27ee4ee466f3efac206 (patch) | |
tree | 66859557d84fe96d692e8d6ee0a72d639a25b283 /src/classdef.cpp | |
parent | e4e787013da916e7331797233c1bec05c14b1f76 (diff) | |
download | Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.zip Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.tar.gz Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.tar.bz2 |
Release-1.2.10-20010923
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index cb453ec..59a53d7 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -700,6 +700,7 @@ void ClassDef::writeDocumentation(OutputList &ol) //printf("Class %s brief=`%s' doc=`%s'\n",name().data(),briefDescription().data(),documentation().data()); + bool exampleFlag=hasExamples(); // write brief description OutputList briefOutput(&ol); if (!briefDescription().isEmpty()) @@ -710,7 +711,14 @@ void ClassDef::writeDocumentation(OutputList &ol) ol.pushGeneratorState(); ol.disableAllBut(OutputGenerator::Html); ol.startTextLink(0,"_details"); - parseText(ol,theTranslator->trMore()); + + if (Config_getBool("REPEAT_BRIEF") || + !documentation().isEmpty() || + exampleFlag + ) + { + parseText(ol,theTranslator->trMore()); + } ol.endTextLink(); ol.popGeneratorState(); ol.disable(OutputGenerator::Man); @@ -1032,7 +1040,6 @@ void ClassDef::writeDocumentation(OutputList &ol) ol.endMemberSections(); // write detailed description - bool exampleFlag=hasExamples(); if ((!briefDescription().isEmpty() && Config_getBool("REPEAT_BRIEF")) || !documentation().isEmpty() || /*(Config_getBool("SOURCE_BROWSER") && startBodyLine!=-1 && bodyDef) ||*/ |