doc: enable figures enumeration

Enable figures enumeration. This option allows to use :numref: in order
to reference figures, thus allowing more precise references other than
"the figure below" or similar.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-09-22 22:44:00 +02:00 committed by Kumar Gala
commit 4516117e9f

View file

@ -108,6 +108,8 @@ pygments_style = "sphinx"
todo_include_todos = False
numfig = True
rst_epilog = """
.. include:: /substitutions.txt
"""