From 3eb246485a5567f2362203b0d467ea7999031bc0 Mon Sep 17 00:00:00 2001 From: koichik Date: Sat, 23 Jul 2011 14:29:13 +0900 Subject: [PATCH] Doc improvements --- doc/api/globals.markdown | 10 ---------- doc/api/modules.markdown | 2 +- doc/template.html | 1 + 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/doc/api/globals.markdown b/doc/api/globals.markdown index 1a765c4..6ac5f2c 100644 --- a/doc/api/globals.markdown +++ b/doc/api/globals.markdown @@ -41,16 +41,6 @@ Modules are cached in this object when they are required. By deleting a key value from this object, the next `require` will reload the module. -### require.paths - -An array of search paths for `require()`. This array can be modified to add -custom paths. - -Example: add a new path to the beginning of the search list - - require.paths.unshift('/usr/local/node'); - - ### __filename The filename of the script being executed. This is the absolute path, and not necessarily diff --git a/doc/api/modules.markdown b/doc/api/modules.markdown index c1e3a20..b0e8875 100644 --- a/doc/api/modules.markdown +++ b/doc/api/modules.markdown @@ -244,7 +244,7 @@ Additionally, node will search in the following locations: * 2: `$HOME/.node_libraries` * 3: `$PREFIX/lib/node` -Where `$HOME` is the user's home directory, and `PREFIX` is node's +Where `$HOME` is the user's home directory, and `$PREFIX` is node's configured `installPrefix`. These are mostly for historic reasons. You are highly encouraged to diff --git a/doc/template.html b/doc/template.html index a377283..9306081 100644 --- a/doc/template.html +++ b/doc/template.html @@ -1,6 +1,7 @@ + {{section}}Node.js v0.5.2 Manual & Documentation -- 2.7.4