-
Notifications
You must be signed in to change notification settings - Fork 19
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
General documentation improvements #32
Comments
Yeah, this is a good thing to keep in mind for the future of the crate. |
Maybe this is somewhat off-topic, but I think it would be a good idea to generate and publish the Rustdocs of |
I don't feel the need to do that. Once the crates get published (which I hope will coincide with the merge of the thread-related features) crates.io will handle the documentation hosting. |
In that case, you're right, that won't be needed |
Hi, I just found this project, I dont have much experience in Rust, and also just started my into 3DS cfw development. |
@PeCoBe I don’t know if I ever fully wrote it somewhere, but here it is:
export DEVKITPRO=/opt/devkitpro
export DEVKITARM=$DEVKITPRO/devkitARM
Without some knowledge of the Rust toolchain (or the devkitPRO one) it might be difficult to solve any issues, but this is more or less what you need to do. Also, if you have little knowledge about writing custom homebrew, I suggest using the standard C toolchain by devkitPRO and play around with it. Our toolchain is far from finished or stable. |
Thanks. Yeah Im want to start with devkitpro first, but found this I tought hey lets give it a try. anyway, thanks, I will keep an eye on this project. |
Looks like we should add a guide about setting up a dev environment |
Obviously, this library is still in early stages, and I don't expect there to be a ton of documentation at this point, but I think having good docs will be important for users and others looking to contribute.
A couple points I can think of right off the bat:
rustdoc
lints to check for missing docstrings and fix where relevant--no-doc-comments
frombindgen.sh
. There seem to be a pretty decent amount of doc comments inlibctru
, so having these readily available in Rust might be nice, even if they're written in a different format thanrustdoc
expects.no_run
and at least verify examples compile.Long-term, if the crates are published to crates.io and then we can get nice docs on docs.rs! I have already been using
cargo 3ds doc
a bit to start out, with some success.Edit: command to check doc lints looks like
Although that is a bit heavy handed – we may not want all lints in the end.
The text was updated successfully, but these errors were encountered: