Skip to content

Docstrings not processed correctly #322

@lczech

Description

@lczech

Hey Sergey,

a small issue that I noticed: Doxygen-style docstrings referencing function parameters via @p or \p annotations (see here) are not processed correctly. The parameter name after that annotation just disappears in the Binder-generated documentation:

/**
 * @brief Test to use the \p value or the @p value annotation.
 */
inline int my_test( int value );

becomes

M("genesis::utils::math").def("my_test", (int (*)(int)) &genesis::utils::math::my_test, "Test to use the  or the  annotation.\n\nC++: genesis::utils::math::my_test(int) --> int", pybind11::arg("value"));

I am not sure if that also affects other doxygen annotations - those are the ones I noticed for now.

Cheers
Lucas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions