-
Notifications
You must be signed in to change notification settings - Fork 223
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
Document new Ravedude.toml manifest #579
Comments
I’m also in favor of docs.rs. mdbook would work as well, but seems a bit overkill for ravedude alone and is probably more work to set up. We could use clap_mangen for the cli manpage (and clap-complete for shell completions ✨), we would only need to migrate to clap. Is there a reason not to? I think there’s no way other than writing the Another point: is ravedude really related to avr-hal or would it be better to move it to it’s own repo? edit: I’ve also just created an AUR package for ravedude at https://aur.archlinux.org/packages/ravedude |
Let's go with crate documentation then!
I'm a fan of manpages as well, but deployment is difficult for tools installed via cargo. The only solution I know of would be for ravedude to carry its manpages in its belly and provide them via a For distro packages like the one you crated, manpage deployment isn't an issue, of course. The thought of a
My main reason for avoiding clap was the bloat. We don't really need advanced commandline parsing and we need it even less now that most commandline options have moved into the config file. So I'd rather keep ravedude with as few dependencies are really necessary...
I have conflicted feelings on this as I'm usually of the opinion that related software should rather live in one large repo than many small ones. But I do know that the rust community at large is mostly following a different approach. Not sure, I guess I'd be open to create an umbrella organization to house all the rust + avr related repos I'm currently maintaining. And then also splitting out ravedude into its own repo. |
No, please don’t :D
Ok wow, 269 vs. 14k loc is a big difference. Still, autocompletion ^^
I think the avr crates are fine here. Ravedude is a whole different piece of software with no dependencies(?) in this repo and seperate releases, that’s what I meant. At the moment, the AUR package needs to download the whole repo (it could use the source from crates.io though). |
PR #522 introduced a
Ravedude.toml
manifest for configuring ravedude. This needs to be documented for users. We need to decide on where this documentation should be placed.I personally am in favor of just putting it into the crate documentation of
ravedude
so it shows up on docs.rs.Alternatives that were proposed (could also be done additionally to the above):
--help-toml
option for CLI documentation (Add file config support for ravedude #522 (comment))Cc: @Creative0708, @tippfehlr
The text was updated successfully, but these errors were encountered: