It’s all handwritten markdown right now, and there is no single agreed upon format to document function arguments. That’s why, in my opinion, Julia API docs can feel quite messy. Each project does it differently. I frequently run into API docs that haven’t documented function arguments at all, and everything is just Any according to the docs (but it never is)
I did some digging a while back and found this relevant discussion: Argument-specific docstrings or comments, unfortunately that never got any followup.
So for now my suggestion would be to:
- Pick a style guide you like. SciML, Blue, YAS.
- Ensure you follow the styleguide by using JuliaFormatter.jl
- Apply style-specific formatting using custom CSS.