ldoc icon indicating copy to clipboard operation
ldoc copied to clipboard

File parameter can't handle spaces in path name in config.ld

Open Fabimawn opened this issue 5 months ago • 1 comments

When generating Ldocs for a lua project, and specifying the source path for the project in CMD (Windows) between quotes, Ldoc can handle module path names just fine. When defining the folders and files that need to be searched in the config.ld however, Ldoc can find the modules with spaces in the pathname still, but the module path on the HTML output stops where the first whitespace starts. You can see below that the path ends at source.ssupdatertool.bout, while using the same path but in the file argument on the command line it outputs a complete path.

Image Image

I've already tried just one path in the config.ld with extra, and less quotes, but to no avail.

Fabimawn avatar Jul 08 '25 13:07 Fabimawn

New discovery. When setting the base file path via the CLI, then it also starts from the correct path, so basically from the path onwards of the argument in the CLI

Image

Fabimawn avatar Jul 08 '25 14:07 Fabimawn