summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Quan <squan@esri.com>2014-04-30 05:15:36 (GMT)
committerStephen Quan <squan@esri.com>2014-04-30 05:15:36 (GMT)
commit415ae7021eeee278ad6c95be23e572dc18ff6a32 (patch)
treefc7e8fde5ccac3a67e24aecab0f663926aaf4cda /src
parentb944c2af68a47be948f40b37176f9959ffccc0b9 (diff)
downloadDoxygen-415ae7021eeee278ad6c95be23e572dc18ff6a32.zip
Doxygen-415ae7021eeee278ad6c95be23e572dc18ff6a32.tar.gz
Doxygen-415ae7021eeee278ad6c95be23e572dc18ff6a32.tar.bz2
Bug 729236 - Added HIDE_COMPOUND_REFERENCE config option
Diffstat (limited to 'src')
-rw-r--r--src/classdef.cpp13
-rw-r--r--src/config.xml9
2 files changed, 19 insertions, 3 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index eded587..f7cdc79 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -2050,9 +2050,16 @@ QCString ClassDef::title() const
}
else
{
- pageTitle = theTranslator->trCompoundReference(displayName(),
- m_impl->compType == Interface && getLanguage()==SrcLangExt_ObjC ? Class : m_impl->compType,
- m_impl->tempArgs != 0);
+ if (Config_getBool("HIDE_COMPOUND_REFERENCE"))
+ {
+ pageTitle = displayName();
+ }
+ else
+ {
+ pageTitle = theTranslator->trCompoundReference(displayName(),
+ m_impl->compType == Interface && getLanguage()==SrcLangExt_ObjC ? Class : m_impl->compType,
+ m_impl->tempArgs != 0);
+ }
}
return pageTitle;
}
diff --git a/src/config.xml b/src/config.xml
index 349c41c..9b02ad8 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -886,6 +886,15 @@ Go to the <a href="commands.html">next</a> section or return to the
]]>
</docs>
</option>
+ <option type='bool' id='HIDE_COMPOUND_REFERENCE' defval='0'>
+ <docs>
+<![CDATA[
+ If the \c HIDE_COMPOUND_REFERENCE tag is set to \c NO (default) then
+ doxygen will append additional text to a page's title, such as Class Reference.
+ If set to \c YES the compound reference will be hidden.
+]]>
+ </docs>
+ </option>
<option type='bool' id='SHOW_INCLUDE_FILES' defval='1'>
<docs>
<![CDATA[