Python代码中带有doxypypy的Doxygen成员组

时间:2019-05-31 10:29:25

标签: python doxygen documentation-generation

我将doxygendoxypypy结合使用来记录Python源代码。

class Test:
    """
    This is a test class.

    The thest class only serves the purpose of a MWE.

    Attributes:
        memberA (int): This is member A.
        memberB (int): This is member B.
        memberC (int): This is member C. A and B never invite C to their party.
    """

    def __init__(self):
        self.memberA = []
        self.memberB = []
        self.memberC = []

我现在想将成员AB分组到member group中(通过使用@{@}等),但是有几次尝试实现这一点在文档字符串中是徒劳的。实现此目的的正确语法是什么? (一般来说,我对Python还是很陌生,我来自C ++方面。我使用的是Google评论风格)

编辑:另外,到目前为止,我还没有找到现在可以使用的格式。我知道我可以使用doxygen特殊命令,但是doxypypy不知道如何阅读例如Google样式文档?

0 个答案:

没有答案