This should work:
.. autodoxygenindex:: :project: auto
With the following config value:
breathe_projects_source = { "auto" : ( "../examples/specific", ["auto_function.h", "auto_class.h"] ) }
It produces this output:
.. cpp:namespace:: @ex_autoindex
.. autodoxygenindex:: :project: auto