After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729236 - Allow user to suppress compound reference suffix from titles
Allow user to suppress compound reference suffix from titles
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2014-04-30 04:25 UTC by squan
Modified: 2014-12-25 16:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description squan 2014-04-30 04:25:28 UTC
Need to be able to suppress compound reference suffixes from page titles, such
as "Class Reference". I propose a new HIDE_COMPOUND_REFERENCE config option
which is, by default NO (reflecting current implementation), but, can be changed
by the user to YES.

The recommended addition to config.xml will be something like:

    <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 localized compound reference suffix to a page's title,
 such as Class Reference. If set to \c YES then no compound reference suffix
 will be added.
]]>
      </docs>
    </option>

The recommended change to classdef.cpp will be something like:

    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);
    }
Comment 1 Dimitri van Heesch 2014-10-11 11:15:08 UTC
This is added in GIT already. 
See https://github.com/doxygen/doxygen/pull/163
Comment 2 Dimitri van Heesch 2014-12-25 16:02:39 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.9. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferrably in the form of a self-contained example).