The current template puts too much space when a list is rendered within a .. note::
directive. See for example the first note in
https://pytorch.org/docs/1.9.0/generated/torch.svd.html
I believe that the spacing between each item is also larger than in other contexts. Compare it with, for example, the list in:
https://pytorch.org/docs/stable/generated/torch.linalg.qr.html
cc @mattip