sphinxcontrib-dotnetdomain
sphinxcontrib-dotnetdomain copied to clipboard
Hide "Attribute" suffix in classes
When referencing a class with a name ending in "Attribute" using the ~ syntax, as in the example below, it would be good if the "Attribute" suffix could be stripped out of the rendered link text. This could be put behind an option/special sigil (like ~ does today) if that would be more appropriate.
For example, the following:
:dn:class:`~Microsoft.AspNetCore.Authorization.AuthorizeAttribute`
Displays like this:
AuthorizeAttribute
But it would be better if it could display like this:
Authorize
/cc @danroth27