Ask HN: What is example of good documentation in your opinion?

41 points by fm200 ↗ HN
I know its kinda generic question, but what technical documentation you would point to as well written, concise, with good examples etc.. Something that really stands out.

70 comments

[ 3.0 ms ] story [ 146 ms ] thread
While Python is "the second best language for any task", I think the Python standard library documentation is second-to-none: https://docs.python.org/3/library/index.html
I agree, there was lot of effort put into python documentation i believe.
The scikit learn documentation is also really fantastic
I'll have to disagree. Many things about it are a constant source of annoyance for me, such as the fact that function arguments and return types aren't listed in a standard format with a short description of each and instead they expect you to read the entire (often quite large) paragraph of text below each function to find that information, and the fact that a lot of information isn't found in the page you'd expect it to be in (for example, the methods available for the list type aren't in the Built-in Types page even though lists are mentioned there, nor in its own dedicated list page, but are instead in a "More on Lists" section in the Data Structures page which apparently isn't linked in the types page at all)
Completely agree. The Python docs are almost unreadable to me. Every time I’m looking for something (a function parameter, example usage, etc.) it’s the same:

- I Google it

- I look for the official docs page (usually 5th or 6th result)

- I tried to find my answer but don’t understand the organization and cannot find the correct keywords to Ctrl-F

- I go back to my Google search frustrated and try to find a suitable StackOverflow answer instead

In comparison with Go the official docs are usually the first or second Google results and the docs are easy to navigate and understand.

Microsofts referencesource. Meaning published source for closed source libraries. No amount of documentation beats being able to see for yourself not just what the software will do not only the documented/supported scenarios but also in undocumented ones.
But just because the Microsoft API documentation is always very meaningless. This could be from their docs:

  class SomethingProvider: "Provides functionality for communication with something"
  property string SomethingUrl: "Gets/sets the URL for the something endpoint"
  function Initialize(string[] roles): "Initializes Something-Provider with the given roles"
Anything from Stripe is brilliant.
Yes, and the idea of using php.net/<function name> as a lookup (which has been the case for decades) makes it so painless
The ArchWiki for Arch Linux: https://wiki.archlinux.org/
I've never used Arch but I always find the best (and mostly distro-agnostic) documentation there!
This. You know your distro has great documentation when you constantly use it to fix problems in other distros…
The Qt framework has excellent documentation which made it very easy for me to learn it back then!
The best I've seen were the Tandem manuals. This was 30 years ago.
The built-in documentation of QBASIC.
Django is one of the gold standards for me.

Great examples. Clearly noting what versions things changed. Ability to switch versions at the click of a button.

https://docs.djangoproject.com/en/4.1/

Django docs have much better examples than many of its "tutorials" out there.
(comment deleted)
I help out on the Unofficial Django Discord a lot. I have to constantly tell people to go do the tutorial on djangoproject.com instead of some rando youtubers totally broken tutorial. It's crazy how many incompetent youtube tutorials there are just for django!
BabylonJS. Also very active forums.
FastAPI: https://fastapi.tiangolo.com

Clear and easy to follow language with awesome examples. I really like that additional concepts are explained as well.

Matlab and Mathematica both have great documentation from what I recall, though I haven't used either in several years.
Stripe for UX

AWS for breadth and organization

1. Good code examples.

2. Tutorials for beginners

3. Advanced guides.

AWS, Rust std.