I have a Python project in PyCharm and I'd like to automatically generate API documentation (in the form of HTML) from my Python code and docstrings.
According to this page, there are a number of tools that generate Python API documentation:
- autosummary
- autodoc
- pdoc
- PyDoc
- pydoctor
- Doxygen
The page additionally notes that the following tools "process documentation":
- DocUtils
- Sphinx
The PyCharm documentation says that DocUtils and Sphinx can be used to "produce the formatted API documentation". However, this seems to be incorrect, as their configuration indicates that those tools process only *.rst
files, not *.py
files.
My question is this: Can I use the DocUtils or Sphinx features of PyCharm to generate the API documentation?
Failing that, can I use any features of PyCharm to do this?
Failing that, are there any tools to do this that integrate well with PyCharm?
automodule
and other related directives. – Puffery