Ok, finally refactored my attempt to enhance doc writing with more metadoc tags. What is done: in place examples (can be tests also), categorization, code snippets (reusable by examples), constants section. Also made custom Codox writer to have it work without any new tools.
And example namespace with all (I hope) features currently implemented.
it has no documentation yet
waiting for your criticism
I do like the categories idea! I’ve got my own similar shim I’m using for my shelving
project which checks for ^:categories #{}
on every public var and uses that to partition vars into different doc files.
I don’t think I like examples inline tho. For https://github.com/arrdem/shelving one of the things I played with was doctests and just supporting arbitrary Markdown tripplequote code blocks inside docstrings. There were some pretty good objections that brought up around the verbosity of putting that sort of metadata inside docstrings instead of having a sidecar registry ala spec that let you separate your examples from your program text.