diff options
author | Felix Geisendörfer <felix@debuggable.com> | 2010-04-09 00:07:14 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-09 01:20:33 +0400 |
commit | 1a9c9b0c55544d024796baf27e519880f365e9e0 (patch) | |
tree | 144bf9ba3f8337514d9663b98fa76010a03c4955 /Makefile | |
parent | 50c70ac7149907f00cea01dfb39703590c54de42 (diff) |
Bring back the old manual style
This brings back the old manual style, including the toc and syntax
highlighting.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -44,7 +44,9 @@ benchmark: all doc: doc/node.1 doc/api.html doc/index.html doc/changelog.html doc/api.html: doc/api.markdown - ronn --html doc/api.markdown > doc/api.html + ronn -f --html 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 doc/changelog.html: ChangeLog echo '<html><head><title>Node.js ChangeLog</title> <link rel="stylesheet" href="./pipe.css" type="text/css" /> <link rel="stylesheet" href="./pipe-quirks.css" type="text/css" /> <body><h1>Node.js ChangeLog</h1> <pre>' > doc/changelog.html |