[Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jan 26 19:33:44 CET 2015


On Mon, 26 Jan 2015 18:36:55 +0100 (CET)
Michael Van Canneyt <michael at freepascal.org> wrote:

> 
> 
> On Mon, 26 Jan 2015, Andreas Frieß wrote:
> 
> > i have try to makes chm from information in the wiki. wikiget gets the information out of the wiki and wikiconvert should convert it to the right format for fpdoc.

A chm is basically a bunch of html files zipped. Therefore it is
better to create the chm from the html, not from wiki to fpdoc to html
to chm.
wikiconvert can create the chm directly.

BTW, have you seen wikisearchdemo?
It demonstrates how to load the whole wiki in less than a second
(depending on your disk speed) and search it in milliseconds.
Maybe this could be extended as an IDE plugin to browse the offline
wiki.


>[...]
> > <fpdoc-description>  
>[...]
> > wikiconvert use the format (documentet in Wiki2FPDocConvert)
> > 
> > <fpdoc>

Ah. I fixed it to <fpdoc-description>.


> >   <package="wiki"/>

Strange. I get <package name="wiki"./>


>[...]
> I don't understand why Wiki2FPDocConvert doesn't do it right in the first place.
> The fpdoc format has been the same since day 1.

I asked you 18th Feb 2012 what could be wrong with the xml. Apparently
we both didn't see the missing "-description". ;)

But it will not work, because fpdoc currently only shows descriptions of
units, it does not show topics without units. This would require an
extension to fpdoc. For example Michael suggested:

--emit-all-modules="Wiki Topic"
 or simply
--emit-all-modules=Topic

Mattias




More information about the Lazarus mailing list