doc: refactor hashes group#9858
Conversation
PeterKietzmann
left a comment
There was a problem hiding this comment.
Nice! Did you also have a look at the header files in sys/include/checksum/?
| /** | ||
| * @defgroup sys_checksum Checksum | ||
| * @ingroup sys | ||
| * @ingroup sys_hashes |
There was a problem hiding this comment.
Why do you put checksum in sys_hashes? I would guess that (as long as we keep both checksum/ and hashes/ in separate folders) we would keep both @ingroup sys ?
There was a problem hiding this comment.
As I have read, strictly speaking checksums are hashes. See for instance this entry.
Although they are in different folder, I'm trying to organize them by topic :)
There was a problem hiding this comment.
I was referring to the mismatch between folder structure and documentation. But I agree that it looks way nicer this way. So the conclusion might be to consider file shifting which is not the purpose of this PR and maybe not wanted anyway.
There was a problem hiding this comment.
Ah, I see. Yes, could be an option. I would be in for moving the folder in another PR
Yes, since I move the |
Sure, I was more thinking about the need for further cleanup. Otherwise I'm fine with this PR. |
Good! :) |
|
PS: I'm wondering if we need that many commits for this kind of change |
Maybe it doesn't make that much sense. I will try to commit by group rather than by feature. |
Contribution description
Following #9842, this PR groups all hashes into the
hashesgroup. I also define/modify some other groups in order to create the categories Checksums, Keyed cryptographic hash functions, Unkeyed cryptographic hash functions and Non cryptographic hash functions (all of them undersys_hashesgroup).This PR does the following:
sysgroup tosys_hashesgroupsha256andsha3sys_hashes_keyedsys_hashes_unkeyedhashes.hfiles tosys_hashes_non_cryptoI also deprecated the section based documentation from the
doc.txt, because it was outdated and it had the same information as the Doxygen group list.Testing procedure
make doc. Go toSystem>Hashesin the generated documentation and see how these components are grouped.Issues/PRs references
#8479