Open GlenNicholls opened 2 years ago
I checked sphinx.ext.autosectionlabel docs and I can use autosectionlabel_prefix_document
, but this isn't helpful as I would like to keep the argparse stuff in the same document.
I'm getting the same warning. Is there any progress on this?
I am running Sphinx 4.4.0 with sphinx-argparse 0.3.1 and I am seeing the following warning when using subparsers:
In my
conf.py
, I have enabledsphinx.ext.autosectionlabel
forextensions
. Here is a MWE of my test case:I am looking at the docs and it states it handles duplicated header names by appending a number
X
to the anchor name, but it doesn't appear this is working correctly. Either that or the anchor is ignored because I am usingsphinx.ext.autosectionlabel
?