KDAB / cxx-qt

Safe interop between Rust and Qt
https://kdab.github.io/cxx-qt/book/
1.07k stars 76 forks source link

Try to enable deny(missing_docs) and fix any ignore code blocks in docs #21

Open ahayzen-kdab opened 2 years ago

ahayzen-kdab commented 2 years ago

Try to enable #![deny(missing_docs)] in all crates and ensure any ```ignore are removed from code blocks so we have real code blocks

https://doc.rust-lang.org/rustdoc/lints.html#missing_docs

ahayzen-kdab commented 8 months ago

cxx-qt-lib has many to fix :-)

error: could not compile `cxx-qt-lib` (lib) due to 324 previous errors
LeonMatthesKDAB commented 1 month ago

Suggestion for cxx-qt-lib:

On every type, we add a link to the corresponding Qt documentation. Then we add #[allow(missing_docs)] on all methods that are a 1:1 wrap of a Qt API that doesn't need further comment.

Anything that is different from Qt API, we add a doc comment on.