Description
I note that pdoc3 supports pure Markdown (with extensions), numpydoc, and Google-style docstrings formats, and you have partial reStructuredText support (see #110).
I do not see that you allow explicit declaration of which markup language (or flavour) is being used, although I see internally variable docformat
can be "numpy"
or "google"
.
I would like to be able to set a default at the command line with --docformat ...
and/or override this at individual file level using__docformat__ = "..."
as done in epydoc. See also rejected PEP258:
https://www.python.org/dev/peps/pep-0258/#choice-of-docstring-format
http://epydoc.sourceforge.net/manual-usage.html
Cross reference mitmproxy/pdoc#153 on the original pdoc project, and #158 on enabling markdown extensions.