Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Lal <kapouer@melix.org>2010-07-12 01:50:24 +0400
committerRyan Dahl <ry@tinyclouds.org>2010-07-12 21:24:09 +0400
commit2b8a9a835821f64fccfc7b571a7c4fb99328f684 (patch)
treed4d339560234a912560649dc3a0d974919759861 /Makefile
parenta7e1efc5bd137a950e4b04f90dfaf2391ee2eec0 (diff)
Use ronnjs 0.2 to generate docs. Small cosmetic change.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ac65b39fad8..f0f6e2d7a4e 100644
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,8 @@ benchmark: all
doc: doc/node.1 doc/api.html doc/index.html doc/changelog.html
## HACK to give the ronn-generated page a TOC
-doc/api.html: doc/api.markdown doc/api_header.html doc/api_footer.html
- ronn -f --html doc/api.markdown \
+doc/api.html: all doc/api.markdown doc/api_header.html doc/api_footer.html
+ build/default/node tools/ronnjs/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/api.html
@@ -53,7 +53,7 @@ doc/changelog.html: ChangeLog doc/changelog_header.html doc/changelog_footer.htm
cat doc/changelog_header.html ChangeLog doc/changelog_footer.html > doc/changelog.html
doc/node.1: doc/api.markdown
- ronn --roff doc/api.markdown > doc/node.1
+ build/default/node tools/ronnjs/bin/ronn.js --roff doc/api.markdown > doc/node.1
website-upload: doc
scp doc/* ryan@nodejs.org:~/tinyclouds/node/