[Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation
Michael Van Canneyt
michael at freepascal.org
Mon Jan 26 18:36:55 CET 2015
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.
>
> In the manuals fpdoc uses a format (chapter 5.1) like
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <fpdoc-description>
> <package name="fpc">
> <module name="Classes">
> </module>
> </package>
> </fpdoc-description>
>
> wikiconvert use the format (documentet in Wiki2FPDocConvert)
>
> <fpdoc>
> <package="wiki"/>
> <module name='wiki_page_name'>
> <!-- header 1-->
> <short>Page title</short>
> <description> text under page header</description>
> <!-- header 2-->
> <topic name="wiki_page_name_title_1">
> <short>Title header 1</short>
> <description> text under header1</description>
> <!-- header 3-->
> <topic name="wiki_page_name_subtitle_1">
> <short>Title header subtitle</short>
> <descr>text</descr>
> </topic>
> </topic>
> </module>
> </package>
> </fpdoc>
>
> So my question is, should this in the wikiconvert (eg. Wiki2FPDocConvert) changed ? (Or a better idea)
If you want fpdoc to process it: yes.
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.
Michael.
More information about the Lazarus
mailing list