Skip to content

Commit

Permalink
Fix ronn dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
aredridel committed Jun 26, 2014
1 parent b23a631 commit ab61171
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ doc/index.html:
ln -s api.html doc/index.html

doc/api.html: doc/api.markdown doc/api_header.html doc/api_footer.html
node tools/ronnjs/bin/ronn.js --fragment doc/api.markdown \
node node_modules/ronn/bin/ronn.js --fragment doc/api.markdown \
| sed "s/<h2>\(.*\)<\/h2>/<h2 id=\"\1\">\1<\/h2>/g" \
| cat doc/api_header.html - doc/api_footer.html > $@

doc/node-${PROJECT}.3: doc/api.markdown
node tools/ronnjs/bin/ronn.js --roff doc/api.markdown > $@
node node_modules/ronn/bin/ronn.js --roff doc/api.markdown > $@

doc: doc/node-${PROJECT}.3 doc/api.html doc/index.html
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@
"test": "PATH=$PATH:`npm bin` tape `find test -name '*-test.js'`"
},
"license": "MIT",
"description": "HTML5 HTML parser, including support for SVG and MathML foreign content"
"description": "HTML5 HTML parser, including support for SVG and MathML foreign content",
"devDependencies": {
"ronn": "~0.4.0"
}
}

0 comments on commit ab61171

Please sign in to comment.