[fpc-pascal] can we have fpc's doc in chm format? [Patch]

Andrew Haines AndrewD207 at aol.com
Fri Dec 7 06:46:25 CET 2007

Michael Van Canneyt wrote:
> On Thu, 6 Dec 2007, Andrew Haines wrote:
>> Andrew Haines wrote:
>>> Attached is a patch to add chm output to fpdoc. I edited Makefile.fpc to
>>> require the "package" chm. Also a patch for chmwriter.pas with some
>>> minor changes that were needed.
>> Don't apply this patch. I have improved it a bit and now fpdoc (here)
>> can autogenerate a TOC. Later this morning I will work on autogenerating
>> an Index.
> Great news ! 
> Is this TOC page available in all formats, or just for chm ?
> I would for obvious reasons prefer the first ;-)

The TOC is not made to be generically usable sorry :(

>> The Index will have all classes, enums, consts, procedures and functions
>> listed in alphabetical order in the above format.
> This is enough, I think...
> Great work !
> Michael.

Okay, here's the patch. it adds the ability to have fpdoc output chm's
which have an autogenerated toc and index.

to import the .xct files from another package/chm looks like this:

There's a seriously huge improvement in speed of the chm code when
compiled with -Ooregvar. I added it to the Makefile.fpc in the
packages/chm directory. I guess the Makefile will have to be regenerated.



PS you can have a peek at some chm's I made with fpdoc here:
http://hainesservice.com/andrew/chms/ they are all crosslinked.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpdoc-chm.tar.bz2
Type: application/x-bzip2
Size: 8776 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20071207/47492bb3/attachment.bin>

More information about the fpc-pascal mailing list