docume

0.1.4 • Public • Published

DocuMe

Build Status

Generate documentation in README from source files.

Install

$ npm install -g docume

(The usage documentation below is generated via DocuMe itself. See the source of bin/docume file.)

Usage

Put some placeholders in your README file first:

# My README

Some line here...

<!--docume:path/to/source.js-->
<!--/docume:path/to/source.js-->

Author Name

It is expected that your source file would have Markdown formatted documentation as single-line comments:

/* path/to/source.js */
 
// this is a line that will be copied to README
var str = 'Hello World';

Now run the command:

$ docume README.md

License

MIT © Fahad Ibnay Heylaal

Package Sidebar

Install

npm i docume

Weekly Downloads

2

Version

0.1.4

License

MIT

Last publish

Collaborators

  • fahad19