I just learned from the sphinx doc sources that one can disable cross-references by prefixing the reference with an exclamation mark.
The relevant source code seems to be:
|
# if the first character is a bang, don't cross-reference at all |
|
self.disabled = text.startswith('!') |
I haven't found anything about this in the documentation. Is this an official feature? If so, we should document it.
I just learned from the sphinx doc sources that one can disable cross-references by prefixing the reference with an exclamation mark.
The relevant source code seems to be:
sphinx/sphinx/util/docutils.py
Lines 602 to 603 in 341b041
I haven't found anything about this in the documentation. Is this an official feature? If so, we should document it.