jashkenas/docco — pull request #121 by justindujardin (2012-10-26 17:54:01+00:00)
Title: Language specific files (e.g. Cakefile, Rakefile)

**The Problem**
As a user of Docco, I would like to be able to document special language-specific, extension-less files; for example, Cakefile for CoffeeScript projects, and Rakefile for Ruby projects. These files can grow to contain sophisticated logic for build processes, and are great candidates for annotated code documentation.

**The Solution**
This pull request weighs in at 2 lines of documentation, and 7 lines of code, and implements:
- support for special files as an array of filenames per-language in `languages.json`.
- A test harness for easily adding tests for new language-specific files added in the future.
- CoffeeScript/Ruby Cakefile/Rakefile support added to `languages.json`, and tests to verify it

**The Test**
This feature is fairly well contained, and includes a testing setup that can verify that special files are identified correctly, when new language specific files are added. A file of the special name is added to `test/special/` and `cake test` will automatically run it through Docco, to make sure it's properly identified.