Wrap CLI options in description with backticks
This is necessary to make Sphinx display them as inline code and so it stops converting double dashes (--) to M-dashes (—).
I've also noticed weird section titles like https://pypa-build.readthedocs.io/en/stable/#python--m-build-options and posted https://github.com/tox-dev/sphinx-argparse-cli/issues/68 upstream assuming it's their bug.
cc @gaborbernat
This doesn't seem to render correctly: https://pypa-build--544.org.readthedocs.build/en/544/
Ah, that's a bummer! I suppose that it's up to @gaborbernat to check this upstream, then?
Should we keep the PR open for now?
Sure.
Ah, that's a bummer! I suppose that it's up to @gaborbernat to check this upstream, then?
PR to fix that is welcome 😊
Seem stalled.