sphinx/sphinx-argparse can not interpret hyphen as underscore or vice-versa #402
Labels
area/docs
This issue/PR affects the docs
kind/problem
Stale
status/blocked-help-needed
This issue is blocked and needs support
Describe your problem
Argument is defined with hyphen in
argparse
, e.g.--timeout-ready
. In Python, this argument is auto converted totimeout_ready
. So the user often expects to find the result by searching either, with hyphen or with underscore. However, right now only thetimeout-ready
query gives the full result.What is your guess?
I guess some kind of alias needs to be added for hyphen and underscore, but at where? Should it be implemented in argparse, or sphinx-argparse, or sphinx, or doc theme level?
original post: #395 (comment)
sphinx-argparse: alex-rudakov/sphinx-argparse#124
sphinx: sphinx-doc/sphinx#7648 (comment)
Environment
Screenshots
The text was updated successfully, but these errors were encountered: