Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-12

Importing 2 content files into fpdoc

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

Hi,

I am trying to create LCL documentation with links to the classes unit (RTL) and process unit (FCL). I pass (among others) the following parameters on fpdoc's command line:
--import=$FPCDocDir/fcl.xct,../fcl/ --import=$FPCDocDir/rtl.xct,../rtl/

fcl.xct and rtl.xct are generated by running make in the fpc doc directory.

Now it seems that only the last --import parameter is actually used, the other seems to be ignored. So in this case, I only get links to the classes unit, but not to the process unit. If I change the order (first rtl and then fcl), I only get links to the FCL and not to RTL.

Has anybody else succesfully imported more than one content file? How can I import two content files, do I use the correct way?

Regards,
Vincent.

Reply by email

Vincent Snijders
Michael Van Canneyt wrote 22 lines
On Sun, 18 Dec 2005, Vincent Snijders wrote: > wrote: > >> >> The code does read multiple content files, as far as I can tell. >> > > It does read them, but doesn't use them. > > While debugging I created the attached patch: > > It always override the CurParent.FFirstChild when reading a new > content file. I think I now correctly initialized PrevSibling. I > haven't tested with more than one content file. > > Also on win32 you cannot use FileExists to check if a directory exists. I've read and committed your patches.

Thanks. It is working now:
http://lazarus-ccr.sourceforge.net/docs/lcl/asyncprocess/index.html

Vincent

Reply by email