Giter VIP home page Giter VIP logo

Comments (7)

1vanK avatar 1vanK commented on May 19, 2024

@weitjong

from urho3d.

SirNate0 avatar SirNate0 commented on May 19, 2024

I think this has to do with doxygen treating the first sentence (marked by the period) as a brief description. Here's some discussion where people ran into an issue with it. Here and here are documentation pages discussing it. I haven't checked to see if we actually use these parameters.

from urho3d.

1vanK avatar 1vanK commented on May 19, 2024

No, these are all brief descriptions, because they are one line

/// Brief description.
/// Detailed description without
/// brief description

From config file:

# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
# a brief description. This used to be the default behavior. The new default is
# to treat a multi-line C++ comment block as a detailed description. Set this
# tag to YES if you prefer the old behavior instead.
#
# Note that setting this tag to YES also means that rational rose comments are
# not recognized any more.
# The default value is: NO.

MULTILINE_CPP_IS_BRIEF = NO

from urho3d.

1vanK avatar 1vanK commented on May 19, 2024

The dot is used to mark the end of the brief description only if JAVADOC_AUTOBRIEF option is enabled

# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
# first line (until the first dot) of a Javadoc-style comment as the brief
# description. If set to NO, the Javadoc-style will behave just like regular Qt-
# style comments (thus requiring an explicit @brief command for a brief
# description.)
# The default value is: NO.

JAVADOC_AUTOBRIEF      = NO

and works only for multiline comments

/// Brief description. Detailed
/// description
/// Brief description. Brief description. 

from urho3d.

1vanK avatar 1vanK commented on May 19, 2024

For experiments:

  1. doxygen.exe -g Doxyfile.in generates template config file with all options
  2. Small doxygen test project: DoxyTest.zip

from urho3d.

1vanK avatar 1vanK commented on May 19, 2024

Actually we have such a problem:

    /// Set the Interpolation Mode.
    /// @property
    void SetInterpolationMode(InterpolationMode interpolationMode);

interpreted as a detailed description without brief description.

So I think MULTILINE_CPP_IS_BRIEF should be enabled

https://rurho3d.github.io/doxygen/class_urho3_d_1_1_spline_path.html

test

from urho3d.

SirNate0 avatar SirNate0 commented on May 19, 2024

Maybe I had run into something with it with a different project, then. Or perhaps I was completely mistaken and was remembering seeing something like the problem of it lacking the brief description for some members before. I'm not sure. I'm glad you were able to fix that one issue at least.

In terms of this issue, I think I favor no period at the end on the doxygen comments if we want to change the current behavior, as many aren't really sentences ("Destructor.") and that saves a (small) number of bytes per file (unless there are multiple sentences for a single item in the documentation, I think).

from urho3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.