In particular, Godoc is absolutely effortless. No build step in your project, no cryptic documentation syntax, no need to tell the documentation generator how to link to your dependencies' documentation pages, etc. Everything just works, and the output is quite a lot cleaner than the aforementioned as well.
No doubt there's a little room for improvement in how the text is layed out and organized, but it's still leagues better than all other documentation systems I've used. With Python (sphinxdocs) in particular, everything gets rendered into a giant page with no clues about what class's `__str__()` method I'm currently looking at.
Also, i’ve never found Rust’s docs to be very easy to read; maybe the complexity of the type system makes for a more challenging UX, or maybe my opinion is simply an outlier.
In any case, it’s good to know things can get even better. Thanks for sharing!
See for example https://docs.rs/diesel/1.2.2/diesel/pg/index.html.
Godoc is too plain and almost cumbersome to read for me, while Elixir is too pretty and not so efficient in displaying the type information in my opinion.
Rust has a happy middle ground here.
The mileage does vary greatly apparently.
godoc maintainer here. We have a lot of UI improvements coming for 1.12.
- A TOC at the top
- A sidebar for easy scrolling
- More cross-links for easy navigation.
If hotlinking comes through, that's a major improvement in itself.
Stay tuned !
[1] https://godoc.org/github.com/google/go-github/github
[2] https://hexdocs.pm/phoenix/overview.html