How Do I Document Members In Specific Sections Using Sphinx? May 30, 2024 Post a Comment I'm struggling to figure out how to place the documentation for specific members of my Python class in specific sections of my Sphinx documentation, ideally while auto-documentingSolution 1: This works: .. currentmodule:: my.module .. automethod:: MyClass.funky CopyYou could skip .. currentmodule:: and do it like this:.. automethod:: my.module.MyClass.funky CopyA third option:.. currentmodule:: my.module .. autoclass:: MyClass .. automethod:: funky Copy Share Post a Comment for "How Do I Document Members In Specific Sections Using Sphinx?"
Post a Comment for "How Do I Document Members In Specific Sections Using Sphinx?"