I have a large number of python files and I would like to create public API documentation for my project. All the functions that are part of the api, I decorated with a decorator.
eg:
@api
def post_comment(comment)"
""" Posts a coment
"""
pass
In the same classes, there are other public methods. The API is distributed among several files, each file defines classes using methods, and some methods have this @api decorator. How can I tell Sphinx to create documents for public API only?
source
share