-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hm-doc only runs on ./src #1
Comments
I also need the ability to exclude files, like the |
Interesting ok, lemme take a look tomorrow. I noticed glob and the other glob alternative have support for all kinds of features like excluding for example. I should probably just open up that functionality in case you need super control of your files. Thanks a lot for the detailed issue! |
Here's some debug info. I ran with the command
My guess is that it's failing to parse the first file and then quits. |
:: high five :: Cool, makes sense. Hoping the new glob has more verbose errors so I can bubble those up. |
Ok @joelnet
v1.2.0 from PR 2. Lemme know if this works and I'll close the issue. |
Very odd. the quotes seems to have fixed that problem. I did notice that when I run it with a template i get different results. Only 1 function is included when I add a template.
vs
Also when I run it on the whole directory, I get a different error.
|
Roger that, lemme hit some work stuff, then I'll check this week. Thanks a lot for the details, this is helpful. |
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 thefunction
directory with the contents: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 commandnpx hm-doc --files ./function/**/*.js
it works just fine.It seems to only run on files in the
src
directory.The text was updated successfully, but these errors were encountered: