[Lazarus] LCL chms pipe dream part n

Reinier Olislagers reinierolislagers at gmail.com
Fri Aug 2 13:23:43 CEST 2013


FPC trunk, Lazarus trunk, Windows

Tried to fix fpcup not generating LCL chm docs.
It uses build_lcl_docs.exe to do that.

Found out that fpdoc is complaining about a missing .css file:
Writing 19901 pages...
Exception at 00441644: Exception:
Can't find CSS file "..\fpdoc.css".
306 Warnings hidden. Use --warnings to see them all.

Fiddled with the --arg options like this to pass the path
cd C:\Development\lazarus\docs\chm
C:\development\lazarus\docs\html\build_lcl_docs.exe "--fpcdocs"
"C:\development\lazarus\docs\chm\" "--fpdoc"
"C:\development\fpctrunk\bin\i386-win32\fpdoc.exe" "--arg
css-file=C:\development\fpctrunk\utils\fpdoc\fpdoc.css " "--outfmt" "chm"
gives this error message from fpdoc
Ignoring unknown option
"css-file=C:\development\fpctrunk\utils\fpdoc\fpdoc.css"

.. but same error
doing this
"--arg --css-file=C:\development\fpctrunk\utils\fpdoc\fpdoc.css"
doesn't help either.

Any suggestions [1]?
Has anybody gotten build_lcl_docs to work?

Thanks,
Reinier

[1] I remember having a big discussion on fpc about where to place .css
files; apparently the way things are now are as they should be so I'm
not really interested in any fixes that involve changing the fpdoc
source code/fpc directory layout.




More information about the Lazarus mailing list