← View more blog posts

5 best tools for writing Javascript documentation

2020-08-19@mildrenben

Finding the right documentation tool for your javascript setup is not easy. Let's look through some of the best tools on the market.

Easiest setup

Docusaurus javascript documenation

Docusaurus makes it easy to maintain documentation in a git repo. Your documentation files are just markdown files that live alongside your code, and the website is built for you automatically.

Perfect for open source projects.

Best documentation for components

Storybook component documentation

Storybook is documentation for your components. React or vue or angular, they all work inside Storybook. It's a great way to showcase your components in a styleguide style way. You can also toggle state/props easily to show functionality of the components.

Most enterprise level

Wiki.js documenation dashboard

Wiki.js is easily the most flexible documentation framework. It has enterprise level features like localization, 2FA authentication and user management so you're probably wondering what the pricing tier looks like, but it's actually free and open source. Overkill for smaller projects, however for larger or company wide documentation it's unrivaled.

Most stable

JSDoc documentation

Originally released in 2011, JSDoc is certainly showing it's age now. But with age comes maturity, and this sure is one tried and tested documentation generator. It's stable and feature-full although a little dated visually.

Best multi language support

Slate multi language API documenation

Slate is very much inspired by Stripe's amazing documentation and they don't hide it. If you like Stripe's API docs, you'll love Slate with it's multi language support and clean look. Slate works best with API documentation.

Hopefully you've found the javascript documentation generator to fit your needs!