[Mono-docs-list] [PATCH] Fix to enable lookup of malformamed generic types.

Valentin Sawadski valentin.sawadski at googlemail.com
Thu Dec 20 06:19:07 EST 2007


Hello,

On Wed, 2007-12-19 at 21:25 -0500, Jonathan Pryor wrote:
> On Wed, 2007-12-19 at 19:43 +0100, Valentin Sawadski wrote:
> > On Wed, 2007-12-19 at 13:33 -0500, Jonathan Pryor wrote:
> > > I can't reproduce this.  What I'm doing:
> > > 
> > > 1. Navigate to System.Array.BinarySearch<T>(T[],T).
> > > 2. Within the Right pane, Click the "IComparable&lt;T&gt;" link above
> > > the prototype.
> > > 
> > > I'm then taken to IComparable<T> documentation.
> > 
> > This is very strange, because it does not work at my machine (rev
> > 91596). Do you have any idea why it is not working for me, but for you?
> > (I'm not using Gecko to render the pages.)
> 
> Did you update & install *both* monodoc/engine AND
> mono-tools/docbrowser?

Yes. I made a full update of monodoc and the mono-tool package.

> 
> One of my recent fixes in monodoc/engine "fixes" "invalid" links that
> were present in the imported ECMA documentation, invalid links of the
> form "T: Namespace.Type" (note the space after the ':').
> 
> Clicking on these links would previously go to a nearly blank page
> containing the only text of the link you just clicked.
> 
> An example of this is M:System.Array.AsReadOnly<T>, which in the summary
> links to "T: System.Collections.Generic.IList&lt;T&gt;" (note the
> space).
> 
> Is it possible that the links you're clicking which lead nowhere are of
> this malformed type?

No, I checked the console output, it prints:

Trying: T:System.IComparable<T>
+----------------------------------------------+
| Here we should locate the provider for the   |
| link.  Maybe using this document as a base?  |
| Maybe having a locator interface?   The short|
| urls are not very useful to locate types     |
+----------------------------------------------+

Kind Regards,
Valentin



More information about the Mono-docs-list mailing list