Commit Graph

123 Commits

Author SHA1 Message Date
GeJ
28d6217457 Allow to build all the docs OOTB.
Since 1.4.10, the html docs are generated via the marked module. when
doing the usual "make" dance, the build process stops when attempting to
generate the first html doc complaining about a missing
node_modules/.bin/marked.

This patch is a quick'n'dirty copy-pasta of the treatment applied to
load the ronn module but applied to marked. When applied against the
1.4.13 tarball it allows -- at least in a works-for-me manner -- to
generate all the docs.
2014-06-27 15:12:42 -07:00
isaacs
972e66164e Use marked instead of ronn for html docs 2014-05-01 17:03:53 -07:00
Robert Kowalski
031e9429e1 Do not replace the canonical url for README.html on doc building
Closes #5111
2014-05-01 10:31:18 -07:00
isaacs
6be6b4b74e doc: Add canonical url 2014-04-12 22:19:36 -07:00
isaacs
94c466066f Move toc.js script into a file 2014-02-25 15:05:58 -08:00
isaacs
02d4322cd4 Follow redirects on curl|sh installer script
Closes #4673
2014-02-15 12:01:09 -08:00
Alex Rodionov
0ccb333281 #3759: do not install npm on node <= v0.5 2013-11-12 07:41:38 -08:00
isaacs
fb35715438 doc: Build index and readme html properly 2013-07-11 14:33:58 -07:00
isaacs
e600886532 doc: update index builder for new format 2013-07-11 14:12:02 -07:00
isaacs
a97443919b doc: update build scripts for new structure 2013-07-11 13:46:45 -07:00
isaacs
f031bd86f7 doc: build sections 5 and 7 2013-07-11 10:33:35 -07:00
Florian Margaine
37bda67e54 Fix the environment used for the doc-build script.
Fixes #2004.
2013-06-21 20:37:04 -04:00
isaacs
237b95328e Fix #2850 Use https url for npmjs.org in docs etc. 2012-10-03 21:55:49 -07:00
isaacs
2acdd2ca90 Don't remove stuff from release tarballs
Makes for weird behavior when installed along with node
2012-07-23 11:18:35 -07:00
isaacs
0519ad865c Fix relocate script properly 2012-07-13 11:50:29 -07:00
isaacs
d87712eecb Add a script to point the shebang at something else 2012-07-13 11:24:20 -07:00
Martin Cooper
af6444feec Sort output of fs.readdir to ensure an ordered command list. 2012-04-06 14:28:54 -07:00
isaacs
bfc36a9b6b Build ronn by checking the bin, not the package 2012-01-16 10:07:25 -08:00
isaacs
7693710e29 Get the 'building ronn' lock pid less cleverly 2012-01-06 00:19:46 -08:00
Gautham Pai
a98dc51d3f Fix hang on make doc when earlier attempt fails
Fixing the issue where the script hangs forever when a previous make
had failed and the script is re-run.
2012-01-05 23:59:12 -08:00
isaacs
ccf2f4e8ef A script for building a release 2012-01-04 16:57:34 -08:00
isaacs
d85c06fc15 Switch npm install based on node version 2012-01-02 09:53:59 -08:00
isaacs
48ee0f64c8 Scripts should be 0755 2011-12-02 11:04:48 -08:00
isaacs
e51477e18d Fix #1694 Test for directory-ness rather than -e
shell scripting is hard.
2011-11-10 11:27:23 -08:00
isaacs
cd4cd51745 Use npm_config_tar in install script 2011-11-03 08:03:01 -07:00
isaacs
d65cd8a447 Print tar --version even if explicitly set 2011-10-31 08:25:20 -07:00
isaacs
3675caaa87 Close #1622 Fix incorrect check for -o tar arg 2011-10-28 09:16:03 -07:00
isaacs
c12817f633 Handle seds that don't support -e 2011-10-21 15:31:44 -07:00
isaacs
4b51fd8d53 Fail faster in cases like #1566 2011-10-18 12:12:06 -07:00
isaacs
3603372b4a Add Stephen to AUTHORS 2011-10-17 12:42:53 -07:00
isaacs
d753758a8d Some seds are simpletons 2011-10-12 10:10:13 -07:00
isaacs
b337aced94 Update 'make doc' to only ronn build if necessary
Also, updated to play nicely with 'make -j8 doc'
2011-10-03 18:47:53 -07:00
isaacs
87d3689caa Building docs is too tedious to do on installation 2011-10-03 15:21:19 -07:00
isaacs
e5f2e9b7da Remove the cacert before trying to cd into the folder 2011-09-30 17:07:10 -07:00
isaacs
e74abdedc5 cacert takes a file, not a string 2011-09-30 17:03:54 -07:00
isaacs
d965a82a47 install.sh: Use tar -z, since npm does anyway 2011-09-30 16:33:11 -07:00
isaacs
9057ce7a4d More html doc styling stuff 2011-09-25 10:47:00 -07:00
isaacs
a2f6cc7de6 Include api docs in index 2011-09-25 10:16:35 -07:00
isaacs
fe576995c4 More doc stuff. 2011-09-24 21:55:02 -07:00
isaacs
308dd42547 Merge branch 'api-doc' into api-doc2
Conflicts:
	Makefile
	doc/cli/find.md
	lib/help.js
	man/man1/adduser.1
	man/man1/bin.1
	man/man1/build.1
	man/man1/bundle.1
	man/man1/cache.1
	man/man1/changelog.1
	man/man1/coding-style.1
	man/man1/completion.1
	man/man1/config.1
	man/man1/developers.1
	man/man1/docs.1
	man/man1/faq.1
	man/man1/find.1
	man/man1/folders.1
	man/man1/get.1
	man/man1/global.1
	man/man1/help-search.1
	man/man1/home.1
	man/man1/init.1
	man/man1/install.1
	man/man1/json.1
	man/man1/link.1
	man/man1/ln.1
	man/man1/npm.1
	man/man1/outdated.1
	man/man1/prefix.1
	man/man1/registry.1
	man/man1/removing-npm.1
	man/man1/rm.1
	man/man1/root.1
	man/man1/run-script.1
	man/man1/scripts.1
	man/man1/search.1
	man/man1/semver.1
	man/man1/set.1
	man/man1/tag.1
	man/man1/uninstall.1
	man/man1/update.1
	man/man1/version.1
	man/man1/whoami.1
	man/man3/author.3
	man/man3/deprecate.3
	man/man3/edit.3
	man/man3/explore.3
	man/man3/list.3
	man/man3/ls.3
	man/man3/owner.3
	man/man3/pack.3
	man/man3/prune.3
	man/man3/publish.3
	man/man3/rebuild.3
	man/man3/restart.3
	man/man3/start.3
	man/man3/stop.3
	man/man3/submodule.3
	man/man3/test.3
	man/man3/unpublish.3
	man/man3/view.3
	npm.js
2011-09-24 20:58:50 -07:00
isaacs
dfa3c0f992 Re #1448 add some output around tar that it's using 2011-09-23 09:24:11 -07:00
isaacs
205a05683f Close #1445 'make' should build docs as well 2011-09-22 12:58:32 -07:00
isaacs
5815abb4af Use cacert in install script 2011-09-20 10:27:46 -07:00
isaacs
22d922112a Remove spurious <a> tag around <title>README 2011-09-16 20:26:15 -07:00
isaacs
bfd2d59b16 Use sed instead of egrep 2011-09-16 19:56:29 -07:00
isaacs
b313d863fa Sniff for the MAKE env properly 2011-09-09 20:21:29 -07:00
isaacs
8e08f0d8d6 Remove some contrived SYNOPSISes, and just use the heading 2011-09-08 13:36:41 -07:00
isaacs
69c87edce7 Add README into index build 2011-09-08 13:26:13 -07:00
isaacs
55d2677cb7 Change to make index build properly 2011-09-08 13:19:35 -07:00
isaacs
8fdd60d960 Build an index of all html documentation files 2011-09-08 13:18:48 -07:00