[fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

Marco van de Voort marcov at stack.nl
Tue Aug 14 16:41:34 CEST 2012


In our previous episode, michael.vancanneyt at wisa.be said:
> > If I understand it correctly, this is only the case for plain HTML whereas
> > CHM includes it internally (and from this point of view it is much more a
> > configuration file influencing the output than part of fpdoc documentation
> > - see also the comment from Marco).
> As far as I know, CHM does not include it internally. It expects it to be
> there, just as the other HTML files should be there.

The CHM files contain a copy of the fpdoc.css file. It expects it to be
there or specified with CSSFILE on the make cmdline during generation.

Since FPC installs an chm extaction tool by default, one can simply extract
it from the CHM as if it were a ZIP file:

chmls extract rtl.chm fpdoc.css

will generate fpdoc.css specified during compilation of the CHM.

> The file in the docs dir is there so they can copy it. 
> It will never be used directly.
> 
> Anyway, it's all moot now, I will let fpdoc generate the file.

I assume you mean you will embed fpdoc.css and use it by default, but
cmdline params will override it?



More information about the fpc-pascal mailing list