Documentation Generators

Docco – literate programming documentation generator

Docco is a lightweight documentation generator built around the concept of literate programming. Rather than producing a conventional API reference, it presents annotated source code alongside explanatory prose, helping readers understand how a program works.

The application processes source files and creates HTML pages that show documentation and implementation together. Comments become readable explanations, while the corresponding source code remains visible. This arrangement is especially suitable for examples, tutorials and smaller projects where the reasoning behind the implementation is as important as the API itself.

Its approach is deliberately simple, making it useful when developers want to explain code without adopting a complex documentation framework. It is less suitable for automatically extracting detailed class hierarchies or API relationships from large software projects.

This is free and open source software.

Key Features

  • Generates HTML documentation from annotated source code files.
  • Provides a two-column presentation showing explanatory text alongside the corresponding implementation.
  • Converts source comments into formatted prose using Markdown.
  • Uses Highlight.js for syntax highlighting of code examples.
  • Produces a separate documentation page for each processed source file.
  • Automatic navigation links connect the generated documentation pages.
  • Supports numerous programming languages through configurable comment syntax.
  • Recognises literate source files where Markdown is the primary content and indented sections contain code.
  • Configurable output directories and templates allow basic customisation of generated documentation.
  • Can document its own source code, providing a practical demonstration of the literate programming approach.

Website: github.com/jashkenas/docco
Support:
Developer: Jeremy Ashkenas
License: The Lil License v1

Docco is written in CoffeeScript. Learn CoffeeScript 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