Every crate should compile with `deny(missing_docs)` on
I'd really like to be able to say I have 100% comprehensive documentation for every publicly-exposed symbol in the SOS source code.
Rust gives us the #[deny(missing_docs)] attribute, which will fail compilation if it hits an item without documentation comments. I'd really like to say that the kernel can compile with this attribute enabled.
This is, however, a big project. There's a lot of code here, and the quality of documentation varies a lot module by module. Therefore, I might make separate issues for each crate and maybe turn this into a project/milestone.
- [ ]
alloccrate compiles withdeny(missing_docs) - [ ]
bootcrate compiles withdeny(missing_docs) - [ ]
cpucrate compiles withdeny(missing_docs) - [ ]
elfcrate compiles withdeny(missing_docs) - [ ]
memorycrate compiles withdeny(missing_docs) - [ ]
sos_intrusivecrate compiles withdeny(missing_docs) - [ ]
utilcrate compiles withdeny(missing_docs) - [ ]
vgacrate compiles withdeny(missing_docs) - [ ] core kernel compiles with
deny(missing_docs)
This is something that I'm totally open to assistance with. This might actually be a good way for a newcomer to start familiarising themselves with what's going on here, without having to actually write new code.
If anybody (@rachlmac maybe?) is interested in learning more about how the kernel works, I'd be happy to provide you with informal explanations of undocumented code, which you could start turning into more formal documentation comments.
(sidenote: if anybody else cares about this sort of thing, it would also give you a way to contribute lots of lines to the project real quick, which would look nice on your GitHub profile! :D )