Closed 2bndy5 closed 1 year ago
The original code is intended to support this use case:
.. _a-term:
a term:
a definition
In fact I was not aware that the default depart_term
definition in Sphinx has a special case for glossary nodes:
In fact I was not even familiar with the glossary directive at all.
I think it would be good to still support permalinks for definition list definitions outside of a glossary.
Ah, ok. Should I revert and add a condition to exclude the extra permalink for the glossary directive?
Ah, ok. Should I revert and add a condition to exclude the extra permalink for the glossary directive?
Yeah, though it looks like a special case is also required for nodes.classifier
.
resolves #248
The problem doesn't seem instigated by any changes to docutils or sphinx. So, it may have been something that was originally overlooked in #157.
Use
rst-example
for theglossary
directive in additional_samples.rst