melissawm / sphinx-tags

A tiny Sphinx extension that implements blog-style tags for documentation.
https://sphinx-tags.readthedocs.io/en/latest/
MIT License
44 stars 11 forks source link

ENH Add reference label to tags page headers #85

Closed lucyleeow closed 8 months ago

lucyleeow commented 9 months ago

Would you be open to adding a reference label to all tag page headers? (e.g., adding sphx_tag_<tag> - just going off what we do in SG: https://sphinx-gallery.github.io/stable/auto_examples/plot_0_sin.html#cross-ref-example)

AFAICT seems reasonably easy to add, another append here-ish:

https://github.com/melissawm/sphinx-tags/blob/c4df648f6531e2f13755c7a6d0e4af66940ff9a7/src/sphinx_tags/__init__.py#L169

?