iankronquist / kernel-of-truth

A simple kernel written in C and a platform to play with x86_64 extensions
MIT License
30 stars 5 forks source link

Documentation #12

Open iankronquist opened 8 years ago

iankronquist commented 8 years ago

Documentation is especially poor right now. Comments stand at < 10% of code. There are several approaches.

Evaluate:

iankronquist commented 8 years ago
iankronquist commented 8 years ago

A tool called cldoc looks pretty nifty. I like it better than Doxygen. Check out the cldoc branch.

iankronquist commented 8 years ago

Largely fixed by #51, but there's always more work to do.

iankronquist commented 8 years ago

So cldoc reports 100% coverage of functions, typedefs, structs, enums, and globals in the headers. I don't really care about self explanatory enum values (COLOR_BLACK) or struct fields (always0). Nonetheless, there are parts of the implementation in the C files which could use some more work. See also #53.

iankronquist commented 8 years ago

We are now back to 0% documentation, somewhat on purpose. I need to fix this.