I would like to reference math equations from my text. Ideally I would like those directives be automatically enumerated. Is there a convenient way to do this?
Say I have an rst content like below. How would I create a reference to the equation?:
.. math:: 1 + 1 = 2
How would I create a reference to the directive above and refer to it as (1)_ or something like that.