-
Notifications
You must be signed in to change notification settings - Fork 3
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
Automated docs would be helpful #7
Comments
FYI, I tried |
Hey there, I'm the creator of |
Hello @neogeek, Great work on Regarding the output, I believe the only issue we've struggled with is how to use the Markdown layout (outputting to a single file), but with more control over the order things are displayed in. For a very simplified example, we might have a structure like this:
doxdox src --output docs/README.md --layout markdown In the resulting file, the helper functions would come first, while we might prefer them to come last. Aside from renaming files, it would be helpful to be able to specify multiple path arguments (which would be read in series), for example: doxdox src/main.js src/helpers.js --output docs/README.md --layout markdown |
@erikjung: That is a very good point, and something I hadn't considered before. I will look into seeing how easy it would be to add multiple input files through the current CLI. Do you think it would also be useful to create a config file for projects with more than a couple of files? Something like this: .doxdoxrc {
"input": [
"src/main.js",
"src/helpers.js"
]
} |
I can't think of a reason why not :) I assume the Also, maybe globs? |
Yep. Going to look into adding the CLI feature this weekend and then porting it over to the rebuild. The config file and glob based pattern matching might need to wait until the next major release (currently in development). |
I have released a new version of doxdox ( Let me know if you run into any issues. |
Thanks @neogeek, I tried out the multiple path arguments, and it works just as expected 👍 |
Related to #6
The text was updated successfully, but these errors were encountered: