numpydoc icon indicating copy to clipboard operation
numpydoc copied to clipboard

Autosummary references problem

Open dizcza opened this issue 5 years ago • 0 comments

The references in autosummary preview are rendered in long hashes again.

Doc: https://pytorch-mighty.readthedocs.io/en/latest/reference/loss.html Source: https://github.com/dizcza/pytorch-mighty/blob/master/mighty/loss/init.py

The workaround posted in #130, unfortunately, does not help. Now it parses the references in an overview section as [Rfe594912252b-R1] instead of [Rfe594912252b-1].

Originally posted by @dizcza in https://github.com/numpy/numpydoc/issues/214#issuecomment-723595256

dizcza avatar Nov 09 '20 08:11 dizcza