You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which I agree is a lot of whitespace, but that's rst's syntax (AFAICT) and I'm not going to change that here.
Now the above form does run into the error you reported at #123 and #123 (comment) does help, but the output's whitespace is pretty messed up so I'd much prefer a solution that yields better whitespace.
@anntzer I'll add it my list to make a PR for definition_list. Perhaps we can add to the docs that the description should be in RST. Are there other formats (e.g. github-flavored markdown, others)?
Oops, I realize the requirement for rst is not documented anywhere, indeed (I guess this is implied by the statement "Docstrings can use the standard Sphinx-style ... or Google- and Numpy-style docstrings (see examples/styles.py), which are converted using Napoleon[1]." at the top of features.rst).
I added that information explicitly to the docstring of run().
Adding support for markdown likely means plugging something like myst-parser (as I'll likely not want to get away from using docutils as core), which may require some work.
defopt 6.4.0
The text was updated successfully, but these errors were encountered: