Closed fogti closed 4 years ago
Most (if not all) of the user facing display API is documented. Only the events API remains to be documented.
I already documented large parts of the newly introduced cascade
API, althrough general core principles of the crate should be documented too.
warning: `[DisplayClip::Rectangle::rect]` cannot be resolved, ignoring it...
--> reclutch/src/display/mod.rs:371:37
|
371 | /// Set to true if [`rect`](DisplayClip::Rectangle::rect) isn't pixel-aligned.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring
|
= note: `#[warn(intra_doc_link_resolution_failure)]` on by default
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
My mistake, fixed. Thanks for pointing it out.
reclutch::display::Vector
should be documented, because the name does not directly imply that it's a 2D floating-point vector.
Good point; 897188e.
I think the documentation should be cross-checked for inconsistencies after the lastest merges. I know the README.md files are outdated.
Yep, merged.
I'm quite confident about the documentation. I've fixed up all the intra-doc links, which resolve correctly with cargo +nightly doc --all-features
.
The overall documentation seems to be quite good, but especially the rustdoc documentation/doc-comments should be created/improved. The target of this would be, that every public API component is documented and the API is (at least mostly) understandable using
rustdoc
(later possibily viewable viadocs.rs
) doc comments alone.