summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-09-11 17:47:35 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-09-11 17:47:35 (GMT)
commit21e7b4b966c2a4c84ffb59c50251492d41f77d20 (patch)
treef8e73d3ff0a83b5f3f3241863a3d47a922719bdc /src
parent598bdf647b52a5edbf2333c7c569af065d21b625 (diff)
parent415ae7021eeee278ad6c95be23e572dc18ff6a32 (diff)
downloadDoxygen-21e7b4b966c2a4c84ffb59c50251492d41f77d20.zip
Doxygen-21e7b4b966c2a4c84ffb59c50251492d41f77d20.tar.gz
Doxygen-21e7b4b966c2a4c84ffb59c50251492d41f77d20.tar.bz2
Merge pull request #163 from squan888/master
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 4a48de1..35d08fc 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -2053,9 +2053,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 fb60c4c..670ebaf 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[