Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation
On Tue, 27 Jan 2015 14:46:19 +0100 Andreas Frieß wrote: > Am 26.01.2015 um 19:33 schrieb Mattias Gaertner: > > 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. > > I have try to compile the wikisearchdemo, but it was not successfully. > > Kompiliere Package MultiThreadProcsLaz 1.2.1: Erfolg > Kompiliere Package LazWiki 1.0.1: Erfolg > Projekt kompilieren, Ziel: wikisearchdemo.exe: Exit code 1, Fehler: 2 > wikihelpmanager.pas(1245,16) Error: No member is provided to access property > wikihelpmanager.pas(1296,18) Error: No member is provided to access property > > I have Lazarus 1.5 r47546M FPC 2.7.1 i386-win32-win32/win64 It seems your 2.7.1 is very old. Please update. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation
Am 26.01.2015 um 19:33 schrieb Mattias Gaertner: 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. I have try to compile the wikisearchdemo, but it was not successfully. Kompiliere Package MultiThreadProcsLaz 1.2.1: Erfolg Kompiliere Package LazWiki 1.0.1: Erfolg Projekt kompilieren, Ziel: wikisearchdemo.exe: Exit code 1, Fehler: 2 wikihelpmanager.pas(1245,16) Error: No member is provided to access property wikihelpmanager.pas(1296,18) Error: No member is provided to access property I have Lazarus 1.5 r47546M FPC 2.7.1 i386-win32-win32/win64 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation
beside the discussion of singular or plural of fpdoc-descriptionS :-) the wikconvert can't handle the minus (Mantis 0027362). In wiki2fpdocconvert.pas around line 283 the function IsValidId is used. This Routine from sysstr.inc 'System Utilities For Free Pascal' doesnt accept a minus as a valid char. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation
On Tue, Jan 27, 2015 at 10:43:51AM +0100, Michael Van Canneyt wrote: > > I asked you 18th Feb 2012 what could be wrong with the xml. Apparently > > we both didn't see the missing "-description". ;) > > Indeed. > > Demonstrating once more what my wife claims since ages: > men look, but don't see :( Well, both of you do that one time again since it seems to be -descriptionS :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation
On Mon, 26 Jan 2015, Mattias Gaertner wrote: Strange. I get [...] 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". ;) Indeed. Demonstrating once more what my wife claims since ages: men look, but don't see :( 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 Indeed. That would be a simple extension. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] wikiconvert to fpdoc format using outdated structure for xml generation
On 01/26/2015 07:33 PM, Mattias Gaertner wrote: 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. This combined IMHO suggests a possible Lazarus Help-Viewer plugin displaying such "local wiki" files. Maybe vice-versa the chm files (and hence all existing help information) can rather easily be converted into Wiki format. So maybe a smooth conversion to a common - and easily updateable (by volunteers) and manageable (by the team) - base format for all help information (whichever this format is) might be possible. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus