See the <doc> section are now links to <doc>
authorDavid Trejo <david.daniel.trejo@gmail.com>
Sun, 27 Mar 2011 14:37:23 +0000 (10:37 -0400)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 28 Mar 2011 22:53:17 +0000 (15:53 -0700)
Closes GH-839.

doc/api/fs.markdown
doc/api/globals.markdown
doc/api/http.markdown
doc/api/net.markdown

index 00a347a..044bdd2 100644 (file)
@@ -82,7 +82,7 @@ Synchronous chmod(2).
 ### fs.stat(path, [callback])
 
 Asynchronous stat(2). The callback gets two arguments `(err, stats)` where
-`stats` is a `fs.Stats` object. It looks like this:
+`stats` is a [`fs.Stats`](#fs.Stats) object. It looks like this:
 
     { dev: 2049,
       ino: 305352,
@@ -98,7 +98,7 @@ Asynchronous stat(2). The callback gets two arguments `(err, stats)` where
       mtime: '2009-06-29T11:11:40Z',
       ctime: '2009-06-29T11:11:40Z' }
 
-See the `fs.Stats` section below for more information.
+See the [fs.Stats](#fs.Stats) section below for more information.
 
 ### fs.lstat(path, [callback])
 
index 8129bfc..8f7758b 100644 (file)
@@ -13,11 +13,11 @@ scope; `var something` inside a Node module will be local to that module.
 
 ### process
 
-The process object. See the 'process object' section.
+The process object. See the [process object](process.html#process) section.
 
 ### require()
 
-To require modules. See the 'Modules' section.
+To require modules. See the [Modules](modules.html#modules) section.
 
 ### require.resolve()
 
index 8de8dca..cf1bd5d 100644 (file)
@@ -241,7 +241,7 @@ passed as the second parameter to the `'request'` event. It is a `Writable Strea
 ### response.writeContinue()
 
 Sends a HTTP/1.1 100 Continue message to the client, indicating that
-the request body should be sent. See the the `checkContinue` event on
+the request body should be sent. See the [checkContinue](#event_checkContinue_) event on
 `Server`.
 
 ### response.writeHead(statusCode, [reasonPhrase], [headers])
@@ -458,7 +458,7 @@ Emitted each time a server responds to a request with an upgrade. If this event
 isn't being listened for, clients receiving an upgrade header will have their
 connections closed.
 
-See the description of the `upgrade` event for `http.Server` for further details.
+See the description of the [upgrade event](http.html#event_upgrade_) for `http.Server` for further details.
 
 ### Event: 'continue'
 
@@ -485,7 +485,7 @@ A queue of requests waiting to be sent to sockets.
 ## http.ClientRequest
 
 This object is created internally and returned from `http.request()`.  It
-represents an _in-progress_ request whose header has already been queued.  The 
+represents an _in-progress_ request whose header has already been queued.  The
 header is still mutable using the `setHeader(name, value)`, `getHeader(name)`,
 `removeHeader(name)` API.  The actual header will be sent along with the first
 data chunk or when closing the connection.
index e3321e0..dded333 100644 (file)
@@ -226,7 +226,7 @@ received.
 #### socket.setSecure()
 
 This function has been removed in v0.3. It used to upgrade the connection to
-SSL/TLS. See the TLS for the new API.
+SSL/TLS. See the [TLS section](tls.html#tLS_) for the new API.
 
 
 #### socket.write(data, [encoding], [callback])
@@ -319,7 +319,7 @@ See `connect()`.
 
 Emitted when data is received.  The argument `data` will be a `Buffer` or
 `String`.  Encoding of data is set by `socket.setEncoding()`.
-(See the section on `Readable Socket` for more information.)
+(See the [Readable Stream](streams.html#readable_Stream) section for more information.)
 
 #### Event: 'end'