api_doc procedural macro that can be used to easily annotate functions and methods to automatically add hyperlinks to docker api reference website. Before I go on and finish documenting all endpoints I wanted to ask for a review and potential suggestions.
I think a proc macro is the best solution here. We have to compile syn and quote anyways as they are in the dependency tree so it's not that costly.
What did you implement:
api_doc
procedural macro that can be used to easily annotate functions and methods to automatically add hyperlinks to docker api reference website. Before I go on and finish documenting all endpoints I wanted to ask for a review and potential suggestions.I think a proc macro is the best solution here. We have to compile syn and quote anyways as they are in the dependency tree so it's not that costly.
Closes: #259
How did you verify your change:
Ran
cargo doc --no-deps
and got expected results