Announcing documentation.js 4.0.0 beta! This version aims to stablize new features. The most noticable change will be the expanded and improved CLI commands:
documentation buildextracts and formats documentation
documentation serveprovides an auto-reloading server
documentation lintreviews files for inconsistencies
documentation readmepatches API documentation into a readme
documentation serve and
documentation readme used to be a separate modules:
dev-documentation and Anand Thakker’s
documentation-readme. After finishing these modules, we realized that they were essential to using documentation.js and could be implemented more cleanly as part of the core, so we’re launching documentation.js as a multifunctional tool.
Much more flexible themes
More precise traversal
Inference in 4.x is stricter than in 3.x: comments must be adjacent to the statements they document. This should make documentation generation much more predictable.
Support for the revealing module pattern
Try it out