On 14-8-2012 20:50, Michael Van Canneyt wrote: > On Tue, 14 Aug 2012, Reinier Olislagers wrote: >> On 14-8-2012 16:03, >> michael.vancanneyt-0is9kj9sb0a-xmd5yjdbdmrexy1tmh2...@public.gmane.org >> wrote: >>> Thinking about it, I will change fpdoc so it does not need the file >>> installed, but generates it if not present, as Graeme suggested. >>> >>> That will be far easier, and causes less headaches and discussion. > > Implemented it. Revision 22079. > > The --css-file option is still honored. If it is not specified, a > built-in copy is written to the appropriate place. Thanks a lot Michael!
I am perhaps doing something wrong when testing it? FPC x86 windows r22081 Getting a baseline: this one C:\Development\fpctrunk\bin\i386-win32>fpdoc --package=fcl --input=C:\Development\fpctrunk\packages\paszlib\src\zipper.pp --descr=D:\Reinier\Documents\SourceCode\fpc_laz_patch_playground\docs\paszlib.xml --format=chm --css-file=C:\Development\fpctrunk\utils\fpdoc\fpdoc.css --output=d:\cop\CSSSpecified.chm gives a chm with a blue bar with index and #fcl on top chmls list d:\cop\CSSSpecified.chm | grep -i css shows there is an fpdoc.css in the chm, as expected. IIUC, at least one of these should use the embedded fpdoc.css, but neither does (no blue bar on top, no fpdoc.css found in the chm): C:\Development\fpctrunk\bin\i386-win32>fpdoc --package=fcl --input=C:\Development\fpctrunk\packages\paszlib\src\zipper.pp --descr=D:\Reinier\Documents\SourceCode\fpc_laz_patch_playground\docs\paszlib.xml --format=chm --css-file= --output=d:\cop\CSSEmpty.chm chmls list d:\cop\CSSEmpty.chm | grep -i css indeed shows no fpdoc.css in the chm C:\Development\fpctrunk\bin\i386-win32>fpdoc --package=fcl --input=C:\Development\fpctrunk\packages\paszlib\src\zipper.pp --descr=D:\Reinier\Documents\SourceCode\fpc_laz_patch_playground\docs\paszlib.xml --format=chm --output=d:\cop\CSSNotSpecified.chm chmls list d:\cop\CSSNotSpecified.chm | grep -i css indeed shows no fpdoc.css in the chm _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal