Documentation Generators

JSDoc – generate API documentation for JavaScript

JSDoc is a documentation generator that produces API references from specially formatted comments embedded in JavaScript source files. It helps developers describe the public interfaces of applications and libraries while keeping the documentation alongside their code.

The application analyses source files, interprets documentation tags and generates interconnected HTML pages. Its annotation syntax supports modern JavaScript constructs, including classes, modules, methods and asynchronous functions. Developers can describe parameter types, return values, exceptions and examples without maintaining a separate API reference.

JSDoc is particularly useful for library authors who want consumers to understand how their code should be used. Its configurable processing system also makes it possible to tailor the documentation to an individual project’s conventions.

This is free and open source software.

Key Features

  • Documents classes, interfaces, modules, namespaces, functions, methods, properties and events.
  • Supports block and inline annotations for types, parameters, return values, exceptions, inheritance and deprecated functionality.
  • Recognises ECMAScript modules, CommonJS modules and asynchronous functions.
  • Generates navigable HTML documentation with links between related API elements.
  • Includes a default output template that can be customised or replaced with third-party templates.
  • Plugin architecture supports custom processing and additional source-code handling.
  • Optional Markdown plugin enables formatted descriptions within documentation comments.
  • Can incorporate README files, package metadata and standalone tutorials into generated documentation.
  • Supports configuration files for controlling source selection, output settings and documentation behaviour.

Website: github.com/jsdoc/jsdoc
Support:
Developer: Michael Mathews and contributors
License: Apache License 2.0

JSDoc is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.


Related Software

Documentation Generators
JSDocAPI documentation generator for JavaScript
JavadocGenerate API documentation in HTML format
SphinxCreate intelligent and beautiful documentation for Python projects
phpDocumentorComplete documentation solution for PHP
DoxygenDocumentation system for C, C++, Java, Python and other languages
DocusaurusBuild, deploy and maintain documentation websites
mdBookCreate modern online books from Markdown files
YARDRuby documentation tool
StarlightDocumentation website framework
DoccoLiterate-programming-style documentation generator
Natural DocsDocumentation generator that supports 21 different languages
QuartoScientific and technical publishing system
AntoraModular documentation site generator
CryccoQuick and dirty documentation generator
ROBODocDocumentation tool similar to Javadoc

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted