Description
Bug report
As discussed w @ImportanceOfBeingErnest #10148
All API sources seem to have .. include:: matplotlib.patches.Wedge.examples
including many that don't have any examples shown (i.e. https://matplotlib.org/_sources/api/_as_gen/matplotlib.axes.Axes.plot.rst.txt)
These allow examples that are in the gallery to be linked to the API so users can easily see how to use the method (i.e. https://matplotlib.org/api/_as_gen/matplotlib.patches.Wedge.html#examples-using-matplotlib-patches-wedge)
Not sure how matplotlib.patches.Wedge.examples
gets generated. There is one generated for matplotlib.axes.Axes.plot.examples
but it is empty. I somewhat suspect the issue is the extra level of nesting. Either we should find the config option or open an issue at Sphinx Gallery to get the extra level traversed?