[Lazarus] Help on FCL?

Andrew Haines AndrewD207 at aol.com
Sun Jan 22 01:17:36 CET 2012


On 01/19/12 19:40, Mattias Gaertner wrote:
> On Thu, 19 Jan 2012 23:15:14 +0100
> Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:
> 
>> Mattias Gaertner schrieb:

>>
>> But you can't tell why it is as it is, and how documentation is supposed 
>> to work?
> 
> The IDE registers fpdoc help for some FPC directories (rtl,
> fcl-base/src;fcl-db/src;fcl-extra/src;fcl-process/src;fcl-web/src;paszlib/src)
> and simply opens the URL
> http://lazarus-ccr.sourceforge.net/docs/<fpdoc
> path>.
> 
> The chmhelppkg package extends/overrides some of these settings.
> Maybe the chm authors can give some clues about the chm parts.
> 
> 
>  

Afair the URL is changed to
ms-its://lcl.chm/lcl/ for lcl
ms-its://fcl.chm/fcl/ for fcl
ms-its://rtl.chm/rtl/ for rtl

it's possible to share one chm file for all three by using a .chm file
that has all three folders with contents (lcl/, rtl/, fcl/)

I had an alldocs.chm (rtl,fcl,lcl) file a while back but it was made
with two steps: creating html docs with fpdoc for all projects then
using chmcmd to combine them into one chm file.

Then the URL's are
ms-its://alldocs.chm/lcl/ for lcl
ms-its://alldocs.chm/fcl/ for fcl
ms-its://alldocs.chm/rtl/ for rtl

This two step method has the disadvantage of not having a table of
contents and index created by fpdoc especially for the chm format. It
would probably be easier to create a program that combined chm's after
they are created, unless fpdoc becomes able to process multiple packages
at once.

It's been a while since I wrote chmhelppkg so things are a bit fuzzy.

Regards,

Andrew Haines




More information about the Lazarus mailing list