Closed aaraney closed 1 year ago
Apparently sphinx can use Markdown: https://docs.readthedocs.io/en/stable/intro/getting-started-with-sphinx.html#using-markdown-with-sphinx
I'd like to submit pdoc for consideration: https://pypi.org/project/pdoc/
I generated the attached documentation for hydrotools.metrics
by adding __docformat__ = "numpy"
to the top of hydrotools.metrics.metrics.py
and running pdoc hydrotools.metrics -o htmldocs
from the command line.
Note pdoc
supports embedding Markdown directly in docstrings (the default) and equation rendering.
Here's an updated example with rendered math (pdoc hydrotools.metrics -o htmldocs --math
). This required no changes to the module itself.
Given that this has gone stale and I have no plans to look into this in the near future, im going to close this.
Sphinx is okay and is fully featured, however, I am not fond of to the rst format nor the way sphinx generates documentation. I would like a solution that is closer to the tool-chain that we and many other data science minded individuals use (e.g. markdown).
The solution choice should (IMO) be driven by approachability. Meaning: