[Mono-docs-list] XHtml provider, mono handbook provider
Miguel de Icaza
miguel@ximian.com
01 Jun 2003 12:08:15 -0400
Hello,
> > The trick I used in the old ecma-provider, was to use the
> > HelpSource.SourceID, and the urls look like this:
> >
> > source-id:N:ecma:....
> >
> > Just prefix every one of your links with "source-id:NNN", and things
> > will work as they should. The trick is that you will need to do some
> > XPath processing at runtime and replace the nodes.
>
> I read this a few times, thought I'd got it figured, tweaked my code a
> bit, reread this a few more times, utterly confused myself, and now I'm
> not sure what The Right Thing to do is, in terms of correctly loading
> from the right help source. Maybe it's really obvious, but I just don't
> 100% understand how the url lookup system maps to the help source
> system?
I will take a look at it this week. Am traveling most of the week, so I
do not know how much time I will have; Please ping me again next sunday
if I have not fixed/commented on this.
> I think the only thing stopping this is that the assembler never gets
> installed anywhere? Because of that, it's tricky to write a generic
> makefile... Maybe we should rename it monodoc-assembler and put a shell
> wrapper script in the install path? I could write a patch for the
> monkeyguide makefile trivially then...
Yeah, lets do that. Install the software as `mono-assembler.exe'.
> I also committed a tiny tweak to handle relative anchors; hope you don't
> mind!
Not at all. Am updating my tree before the trip.
Miguel