[Lazarus] Building help files: the nitty-gritty

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Fri Jul 13 14:32:40 CEST 2012


Mattias wrote:

 >>> I've been working through this several times with the intention of
>>> putting Lazarus docs build (from source) plus FPC docs copy (from 
>>> binaries) into my usual build/installation scripts, but am finding 
>>> that the FPC (RTL etc.) stuff is only picked up intermittently. Is 
>>> there a cache to be cleared somewhere or something comparable?
>> 
>> I see from the .txt file that RTL etc. help is supposed to not work in 
>> the Lazarus IDE at present. But it doesn't not work all the time, on a 
>> couple of occasions it's been fine but I can't pin down the conditions.
 >
 > Just put the fcl, rtl, prog, ... chm files into docs/chm and lhelp
 > will open them. Even links between them should work.

lhelp will open them manually, but keyword help in the IDE (e.g. F1 on 
begin or {$i) doesn't. I get IDE popups like 'Help keyword 
"FPCKeyword_begin" not found.

lazarus-trunk$ find . -iname '*chm'
./components/wiki/chm
./docs/chm
./docs/chm/toc.chm
./docs/chm/user.chm
./docs/chm/fpdoc.chm
./docs/chm/prog.chm
./docs/chm/fcl.chm
./docs/chm/rtl.chm
./docs/chm/ref.chm
./docs/html/lcl/lcl.chm

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list