readthedocs / sphinxcontrib-dotnetdomain

A Sphinx domain for .NET languages
MIT License
15 stars 17 forks source link

Incorrect property reference URI #49

Open danroth27 opened 8 years ago

danroth27 commented 8 years ago

I have a link to the HttpContext.Sessionproperty link like this: :dn:prop:Microsoft.AspNet.Http.HttpContext.Session``

The generated URL is: http://docs.asp.net/projects/api/en/latest/autoapi/Microsoft/AspNet/Http/HttpContext/index.html#Microsoft.AspNet.Http.HttpContext.Session

But this just goes to the HttpContext class page, instead of going right to the property.

The URL that appears to work is: https://docs.asp.net/projects/api/en/latest/autoapi/Microsoft/AspNet/Http/HttpContext/index.html#prop-Microsoft.AspNet.Http.HttpContext.Session

danroth27 commented 8 years ago

I see a similar issue with methods.

This link to the IApplicationBuilder.Use() method: :dn:meth:Microsoft.AspNet.Builder.IApplicationBuilder.Use``

Produces this URL: http://docs.asp.net/projects/api/en/latest/autoapi/Microsoft/AspNet/Builder/IApplicationBuilder/index.html#Microsoft.AspNet.Builder.IApplicationBuilder.Use

But this is the URL that actually resolves to the method: http://docs.asp.net/projects/api/en/latest/autoapi/Microsoft/AspNet/Builder/IApplicationBuilder/index.html#meth-Microsoft.AspNet.Builder.IApplicationBuilder.Use