Docco is a documentation generator by Jeremy Ashkenas that embraces the literate-programming style: it takes your source code and produces annotated HTML documentation that shows your comments side-by-side with your code. The idea is to read code like a book — commentary on one side, code on the other — which helps reviewers and learners understand intent and implementation simultaneously. It supports many languages (via configuration) and is intentionally quick and dirty, prioritizing lightweight output rather than heavy tooling. For teams that favour documentation that stays close to the codebase (rather than entirely separate docs), Docco offers a pragmatic route to keep documentation aligned with implementation. Because the output is browser-readable, it can live in your repository or website and be regenerated easily. It’s particularly useful for open-source projects, teaching code, or scaffolding codebases where reader orientation matters.

Features

  • Generates HTML docs where comments and source code appear side-by-side
  • Supports multiple layouts (parallel vs linear) configurable
  • Customizable CSS and templates for branded output
  • Language-support via configuration file (languages.json) so you can doc many file types
  • CLI usage: docco [options] FILES to integrate into build pipelines
  • Lightweight and easy to integrate into existing repos without heavy dependencies

Project Samples

Project Activity

See All Activity >

Categories

Documentation

License

MIT License

Follow Docco

Docco Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Docco!

Additional Project Details

Programming Language

CoffeeScript

Related Categories

CoffeeScript Documentation Software

Registered

2 days ago