Skip to content

Commit

Permalink
Bug 729236 - Added HIDE_COMPOUND_REFERENCE config option
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenquan committed Apr 30, 2014
1 parent b944c2a commit 415ae70
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/classdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
9 changes: 9 additions & 0 deletions src/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,15 @@ Go to the <a href="commands.html">next</a> section or return to the
If the \c HIDE_SCOPE_NAMES tag is set to \c NO then doxygen
will show members with their full class and namespace scopes in the
documentation. If set to \c YES the scope will be hidden.
]]>
</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>
Expand Down

0 comments on commit 415ae70

Please sign in to comment.