I am attempting to document this project https://github.com/joelnet/MojiScript. The code is not in an src directory.
I have created isArray.js inside of the function directory with the contents:
/* Determine if an array is empty.
isEmpty([]) === true
*/
// isEmpty :: Array a -> Bool
const isEmpty = array =>
Array.isArray(array)
&& array.length === 0
I then run the command npx hm-doc --files ./function/**/*.js and nothing is returned.
If I copy that file into src/isArray.js and run the command npx hm-doc --files ./function/**/*.js it works just fine.
It seems to only run on files in the src directory.
I am attempting to document this project https://github.com/joelnet/MojiScript. The code is not in an src directory.
I have created
isArray.jsinside of thefunctiondirectory with the contents:I then run the command
npx hm-doc --files ./function/**/*.jsand nothing is returned.If I copy that file into
src/isArray.jsand run the commandnpx hm-doc --files ./function/**/*.jsit works just fine.It seems to only run on files in the
srcdirectory.