[BUG] `<label>` in name templates should link to label definition and not the label entity definition
Describe your problem in detail.
Only checked for MRI but I suspect the problem will be the same for other datatype as this is "macro generated".
See for this name template.
https://bids-specification.readthedocs.io/en/latest/04-modality-specific-files/01-magnetic-resonance-imaging-data.html#anatomy-imaging-data
clicking on label links to:
https://bids-specification.readthedocs.io/en/latest/appendices/entities.html#label
Describe what you expected.
I would expect it to link to this:
https://bids-specification.readthedocs.io/en/latest/glossary.html#label-common_principles
BIDS specification section
probably all name templates
Good catch!
Got it last week when demoing our new filename templates and I went:
now you can just click on any of those and it will show you the definition of that... Well for most of those it will show you the definition.
😆
Furthermore, links to <index> do not work at all --> they go to: https://bids-specification.readthedocs.io/en/latest/appendices/entities.html#index