It would be nice to have an additional CLI parameter like -c, --config
where we can specify path to apidoc.json
file or package.json
file in case they are placed not in the project root directory.
Added in 0.13.0.
For anyone who happens to see this issue, the command is apidoc -c folderName
The -c
command specifies the folder, but not the file name.
You can see the generation process by appending --debug
to your command.
For example, apidoc -c folderName --debug
hello, this should be in the doc http://apidocjs.com/
thanks for the solution though
Most helpful comment
For anyone who happens to see this issue, the command is
apidoc -c folderName
The
-c
command specifies the folder, but not the file name.You can see the generation process by appending
--debug
to your command.For example,
apidoc -c folderName --debug