Closed agjohnson closed 9 years ago
cc @danroth27
Looks like on MSDN they have a convention of using (T)
instead of <T>
in some places.
Example: https://msdn.microsoft.com/en-us/library/6sh2ey19(v=vs.110).aspx
Is that just a type in a normal argument list, or signature type declaration?
Maybe we provide some special syntax here?
* .NET Link with an alias:
:dn:cls:`Alias<<Foobar>>`
* .NET Link with an alias to generic:
:dn:cls:`Alias<<Foobar<T>>>`
This is closed with #29
So Sphinx has the concept of aliasing reference links using the following syntax:
This references the class object
Foobar
, but prints the textLinkAlias
. This of course overlaps with the .NET signature syntax of:The question here is do we drop the ability to have aliased links in Sphinx on the .NET domain completely, and fix all cases of the generic type syntax?
For reference: https://github.com/rtfd/sphinxcontrib-dotnetdomain/blob/525fb4fe71c4a1299df017d3243989f756bc6a5e/sphinxcontrib/dotnetdomain.py#L425-L444