How to create list of all figures (tables) in Sphinx?

183 Views Asked by At

In Latex it is possible to create lists of figures and tables:

  \listoffigures
  \listoftables

=> How to do so in Sphinx for the html output?

I found

:ref:`genindex`

but nothing like

:ref:`genfigureindex`

If there is no existing command/extension in Sphinx (?):

a) How to write an extension that uses existing occurrences of the .. figure (.. table) directives in all the pages as a source? (I would prefer a solution that does not require to modify all the existing figures/tables.) Also see related question

How to loop over all documents and get meta information about existing directives in Sphinx?

b) Maybe the search feature or the toctree directive could be used somehow to search/filter for all figures and list them as a an extra page?

0

There are 0 best solutions below