from Hacker News

Ask HN: What's the best documentation site you've come across?

by sawirricardo on 9/14/24, 10:06 AM with 35 comments

I think back then devs seems to praise Stripe's docs site. Is it still relevant right now?
  • by alok-g on 9/14/24, 11:01 AM

    Documentation for Wolfram Language:

    https://reference.wolfram.com/language/

    It's detailed, complete, shows many examples for commom use cases, 'neat' examples showing what's possible, and lists down possible issues. I do see certain documentation quality issues sometimes.

    The documentation itself is done using the features of Wolfram Language, so the examples can be run inline (depending on the platform).

  • by DavidPiper on 9/14/24, 11:02 AM

    I haven't done serious frontend web dev for a while, but MDN was consistently excellent a few years back.

    https://developer.mozilla.org/en-US/docs/Web/JavaScript

  • by captn3m0 on 9/14/24, 12:02 PM

    PHP docs are an underrated gem. They get several things right:

    1. Individual pages for each function.

    2. Clear examples for common usecases.

    3. Explicit documentation for input and return types.

    4. The quick search is amazing - it prioritizes library reference over other pages.

    5. Clean and useful references to related methods.

    The user submitted notes were a big positive a decade ago - they highlighted common gotchas, workarounds, and surprising alternatives, but have gotten dated over time (kinda like SO answers). But the voting mechanism attempts to keep them in check.

    Compare https://www.php.net/manual/en/function.str-contains.php to the tiny one paragram you get at https://docs.python.org/3/library/stdtypes.html#str.find (which then redirects most users to a far more confusing explanation about the in operator https://docs.python.org/3/reference/expressions.html#members...

  • by BrandoElFollito on 9/14/24, 11:22 AM

    Arch (a Linux distribution) has excellent documentation that can be reused in other distros. Not the "how to install part" but rather the "how to configure" one.

    I usually prefer to read their docs rather than the ones in man pages which are "flat" (all the initiation had the same importance)

  • by mcc1ane on 9/14/24, 12:24 PM

  • by jonathonlacher on 9/14/24, 12:14 PM

    I appreciate the HAProxy docs. They're stored as text files in the main code repository, though there are HTML representations.

    There are three main files:

    Starter Guide: https://docs.haproxy.org/3.0/intro.html

    Configuration Manual: https://docs.haproxy.org/3.0/configuration.html

    Management Guide: https://docs.haproxy.org/3.0/management.html

    Having all the similar docs together in the same file (all config options, for example) is refreshingly simple.

  • by zvr on 9/23/24, 2:14 PM

    Every time "documentation" is mentioned, it would help to specify which quadrant this is about: https://docs.divio.com/documentation-system/

    I see answers here that are oriented towards completely different parts.

  • by spapas82 on 9/14/24, 10:57 AM

    For me it's the Django docs.
  • by coreyh14444 on 9/14/24, 11:06 AM

    Stripe is still the gold standard for me. But I'm interested to see what this thread digs up.
  • by selcuka on 9/14/24, 11:25 AM

    The online documentation for Lotus (later IBM, later HCL) Notes/Domino is excellent. It's not purely a "site" because the documentation is a Notes database itself, but it is also available on the public Internet [1], so I think it counts.

    For open source projects, Django [2] is pretty close to the gold standard.

    [1] https://help.hcl-software.com/dom_designer/14.0.0/index.html

    [2] https://docs.djangoproject.com/en/dev/

  • by hprotagonist on 9/14/24, 11:48 AM

    Emacs. Normally i read it locally but the web version is just as comprehensive.
  • by Crono on 9/14/24, 4:16 PM

    PHP Docs are pretty good as already mentioned.

    I personally love the Documentation for Kirby CMS:

    https://getkirby.com/docs/guide

    https://getkirby.com/docs/reference

    https://getkirby.com/docs/cookbook

  • by blablabla123 on 9/14/24, 11:51 AM

    For a product: Delphi 2. I don't think I ever saw a better offline documentation which is so self-contained

    For a project: MDN, they refactored the Web's JS documentation

  • by brothrock on 9/14/24, 8:10 PM

    All of raspberry pi’s SDK documentation and data sheets for the pico (rp2040) are amazing. Perfect material to build an embedded engineering course around.
  • by constantinum on 9/14/24, 7:48 PM

  • by kamma4434 on 9/14/24, 11:44 AM

    Generally speaking, Elixir. Documentation is written in the language itself, it is easy to create, and is very well written. As the authors themselves are the first users of the documentation facilities, they are very well done and maintained.

    This in turn means that the structure and style is shared by many libs in the ecosystem, and everything is natively cross-referenced.

  • by joshka on 9/15/24, 2:06 PM

    As a general rule (for established libraries at least), the docs for rust crates stored on https://docs.rs are pretty good. This comes from having docs being built-in to the tooling, so it's really easy to deliver docs in a consistent format.
  • by phsource on 9/14/24, 10:54 AM

    This is a bit of an unusual choice, but I recently was trying to use Webflow, and its videos are both highly informative and funny! Engineers often thumb their noses at videos, but they really show how to do it well:

    https://university.webflow.com/videos

  • by davidy123 on 9/14/24, 4:15 PM

    I've seen a few sites train LLMs / use RAG on their online docs. When I used it, it was very useful in terms of search and synthesis. imo it'd be nice if projects release a current model trained on their documentation and code.
  • by rhizome31 on 9/14/24, 11:05 AM

    I was quite pleasantly surprised by the quality of AWS docs, especially coming from Azure. A part from that, as mentioned already: Django.
  • by gtirloni on 9/14/24, 3:36 PM

    Lots of great sites with docs for software. I'm curious if people have suggestions for infrastructure-related docs as well.
  • by rodrpb on 9/14/24, 11:09 AM

    I'd add Terraform documentation to the list
  • by michele_f on 9/14/24, 8:22 PM

    Spacy documentation webpages are top notch!
  • by marvin-hansen on 9/14/24, 11:07 AM

    BuildBuddy

    https://www.buildbuddy.io/docs/introduction/

    I don't think I ever had a case that wasn't covered in the docs.