Using Sphinx, I need to generate two sets of documentation for my Python app:
- Contains all my modules/functions
- Contains only a subset of functions from my modules
I want to use a "tag" in the function docstrings that would indicate whether or not to include the function in the 2nd set of documents.
With .. only, I'm able to control which part of the docstring gets included depending on -t <tagname> that I provide to sphinx-build. But I'm not able to find any way of filtering out a set of functions to be included in the scope of the documentation based on docstring entries of these functions.