Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (5 sloc) 255 Bytes
#!/bin/sh
export NODE_DOC_DIR=/usr/local/share/node/doc
export NODEDOC_JS="$0/../nodedoc.js"
export LESSCHARSET=iso8859
node $NODEDOC_JS $1 | pod2man --section 1 --name $1 -c "Node Reference" -d node.js -r `node -v` | nroff -C -Tlatin1 -mandoc - | less