Skip to content

Commit

Permalink
Add documentation source
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Jul 17, 2013
1 parent 15c0fa3 commit 90e776a
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 8 deletions.
3 changes: 2 additions & 1 deletion doc/from.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
language: en
layout: page
title: "Reading data from a source"
date: 2013-06-04T09:36:56.250Z
date: 2013-07-17T08:03:53.224Z
comments: false
sharing: false
footer: false
navigation: csv
github: https://github.com/wdavidw/node-csv
source: ./src/from.coffee
---


Expand Down
4 changes: 3 additions & 1 deletion doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
language: en
layout: page
title: "Node CSV"
date: 2013-06-26T21:15:50.637Z
date: 2013-07-17T08:03:53.223Z
comments: false
sharing: false
footer: false
navigation: csv
github: https://github.com/wdavidw/node-csv
source: ./src/index.coffee
---


Expand Down Expand Up @@ -67,6 +68,7 @@ The following example illustrates 4 usages of the library:

// node samples/sample.js
var csv = require('csv');
var fs = require('fs');
csv()
.from.stream(fs.createReadStream(__dirname+'/sample.in')
.to.path(__dirname+'/sample.out')
Expand Down
3 changes: 2 additions & 1 deletion doc/parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
language: en
layout: page
title: "Parsing"
date: 2013-06-04T09:36:56.251Z
date: 2013-07-17T08:03:53.224Z
comments: false
sharing: false
footer: false
navigation: csv
github: https://github.com/wdavidw/node-csv
source: ./src/parser.coffee
---


Expand Down
3 changes: 2 additions & 1 deletion doc/stringifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
language: en
layout: page
title: "Stringifier"
date: 2013-06-04T09:36:56.252Z
date: 2013-07-17T08:03:53.225Z
comments: false
sharing: false
footer: false
navigation: csv
github: https://github.com/wdavidw/node-csv
source: ./src/stringifier.coffee
---


Expand Down
3 changes: 2 additions & 1 deletion doc/to.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
language: en
layout: page
title: "Writing data to a destination"
date: 2013-06-04T09:36:56.251Z
date: 2013-07-17T08:03:53.224Z
comments: false
sharing: false
footer: false
navigation: csv
github: https://github.com/wdavidw/node-csv
source: ./src/to.coffee
---


Expand Down
3 changes: 2 additions & 1 deletion doc/transformer.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
language: en
layout: page
title: "Transforming data"
date: 2013-06-04T09:36:56.251Z
date: 2013-07-17T08:03:53.224Z
comments: false
sharing: false
footer: false
navigation: csv
github: https://github.com/wdavidw/node-csv
source: ./src/transformer.coffee
---


Expand Down
6 changes: 4 additions & 2 deletions lib/doc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/doc.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

fs = require 'fs'
path = require 'path'
mecano = require 'mecano'
each = require 'each'

Expand Down Expand Up @@ -74,6 +75,7 @@ each( docs )
footer: false
navigation: csv
github: https://github.com/wdavidw/node-csv
source: ./#{path.relative __dirname+'/../', source}
---
#{content}
"""
Expand Down

0 comments on commit 90e776a

Please sign in to comment.