summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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[