logoalt Hacker News

meatcaryesterday at 11:23 PM1 replyview on HN

What if instead of needing to run a codemod to cache per-lib docs locally, documentation could be distributed alongside a given lib, as a dev dependency, version locked, and accessible locally as plaintext. All docs can be linked in node_modules/.docs (like binaries are in .bin). It would be a sort of collection of manuals.

What a wonderful world that would be.


Replies

tobyjsullivanyesterday at 11:47 PM

Sounds a bit like man pages. I think you’re onto something.