On 8/2/2013 07:23, Reinier Olislagers wrote:
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"

i notice the above has a trailing space after fpdoc.css...

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.

maybe just one dash?

-css-file=blah

does the build_lcl_docs.exe give any hints or --help?

--
NOTE: No off-list assistance is given without prior approval.
      Please keep mailing list traffic on the list unless
      private contact is specifically requested and granted.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to