Skip to content

Fix/Implement Doxygen filter for Python #131

Open
@schuhschuh

Description

@schuhschuh

Issue by schuhschuh
Saturday Nov 09, 2013 at 18:02 GMT
Originally opened as cmake-basis/legacy#131


The Doxygen filter shall consider comment of the format

## @brief Desc.
#
# @param [in] arg Desc.
#
# @returns Return value.
def foo(arg):
    """Desc considered by sphinx-apidoc, but not the Doxygen filter."""
    return 42

The doc strings, on the other side, shall be ignored. These are better be processed by sphinx-apidoc and be formatted using reStructuredText instead of Doxygen commands/tags. This way, both documentation generators, Doxygen and Sphinx can exist side-by-side. Usually, a developer would for a particular module use either one of these documentation options, but rarely both.

Another possibility of including doc string formatted for Sphinx in the Doxygen output would be the preprocessing of these using rst2html as HTML code is allowed in Doxygen comments.
Reporter: Andreas Schuh
Assigned to: Andreas Schuh
Begin: 2012-06-16
Completed: 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions