[Lazarus] setting fpdoc package name from lazarus
M.Santhoff at web.de
Tue Apr 26 19:42:06 CEST 2011
Am Dienstag, den 26.04.2011, 16:13 +0200 schrieb Hans-Peter Diettrich:
> Marc Santhoff schrieb:
> > How can I handle this case, the package name is or will be different
> > from the runnable project name?
> I often create a dummy package and add the units to it. That seems to be
> sufficient for the docfile creation, and the directory can be added to
> the FPDoc pathes manually. This way my docs are always found, even if
> the current project doesn't require the dummy package.
I expected this usage to be pretty nromal, fine.
> > OK, while developing I can run fpdoc using the project name and it
> > works. Do I have to use sed/awk for changing the name afterwards or is
> > there a more "integrated" way of doing this? If the name is changed and
> > more testing or development has to be done the names all have to be
> > changed back again ...
> I'm not sure about the usage/requirements of project or package names.
> You can find out yourself what happens when you save the project with a
> different name...
As said, fpdoc decides by the project name which descriptions to
include. If the name differs nothing is included.
But the solution seems to be naming the test project the same as the
target package, I'll try that and see if there are name clashes.
Marc Santhoff <M.Santhoff at web.de>
More information about the Lazarus