Skip to content

Commit

Permalink
point docs to the right domain
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinmetcalf committed Nov 7, 2015
1 parent f2a4f4a commit 3012944
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion build/doc-replacements.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = [
[
/\]([\:|\(]\W?)([^\#]\w+\.html(?:#\w+))/g,
`]$1https://iojs.org/dist/v${process.argv[2]}/doc/api/$2`
`]$1https://nodejs.org/docs/v${process.argv[2]}/api/$2`
]
]
34 changes: 17 additions & 17 deletions doc/stream.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

A stream is an abstract interface implemented by various objects in
Node.js. For example a [request to an HTTP
server](https://iojs.org/dist/v5.0.0/doc/api/http.html#http_http_incomingmessage) is a stream, as is
server](https://nodejs.org/docs/v5.0.0/api/http.html#http_http_incomingmessage) is a stream, as is
[stdout][]. Streams are readable, writable, or both. All streams are
instances of [EventEmitter][]

Expand Down Expand Up @@ -136,9 +136,9 @@ destinations drain and ask for more data.

Examples of readable streams include:

* [http responses, on the client](https://iojs.org/dist/v5.0.0/doc/api/http.html#http_http_incomingmessage)
* [http requests, on the server](https://iojs.org/dist/v5.0.0/doc/api/http.html#http_http_incomingmessage)
* [fs read streams](https://iojs.org/dist/v5.0.0/doc/api/fs.html#fs_class_fs_readstream)
* [http responses, on the client](https://nodejs.org/docs/v5.0.0/api/http.html#http_http_incomingmessage)
* [http requests, on the server](https://nodejs.org/docs/v5.0.0/api/http.html#http_http_incomingmessage)
* [fs read streams](https://nodejs.org/docs/v5.0.0/api/fs.html#fs_class_fs_readstream)
* [zlib streams][]
* [crypto streams][]
* [tcp sockets][]
Expand Down Expand Up @@ -538,13 +538,13 @@ that you are writing data *to*.

Examples of writable streams include:

* [http requests, on the client](https://iojs.org/dist/v5.0.0/doc/api/http.html#http_class_http_clientrequest)
* [http responses, on the server](https://iojs.org/dist/v5.0.0/doc/api/http.html#http_class_http_serverresponse)
* [fs write streams](https://iojs.org/dist/v5.0.0/doc/api/fs.html#fs_class_fs_writestream)
* [http requests, on the client](https://nodejs.org/docs/v5.0.0/api/http.html#http_class_http_clientrequest)
* [http responses, on the server](https://nodejs.org/docs/v5.0.0/api/http.html#http_class_http_serverresponse)
* [fs write streams](https://nodejs.org/docs/v5.0.0/api/fs.html#fs_class_fs_writestream)
* [zlib streams][]
* [crypto streams][]
* [tcp sockets][]
* [child process stdin](https://iojs.org/dist/v5.0.0/doc/api/child_process.html#child_process_child_stdin)
* [child process stdin](https://nodejs.org/docs/v5.0.0/api/child_process.html#child_process_child_stdin)
* [process.stdout][], [process.stderr][]

#### writable.write(chunk[, encoding][, callback])
Expand Down Expand Up @@ -1650,24 +1650,24 @@ JSONParseStream.prototype._flush = function(cb) {
```


[EventEmitter]: https://iojs.org/dist/v5.0.0/doc/api/events.html#events_class_events_eventemitter
[EventEmitter]: https://nodejs.org/docs/v5.0.0/api/events.html#events_class_events_eventemitter
[Object mode]: #stream_object_mode
[`stream.push(chunk)`]: #stream_readable_push_chunk_encoding
[`stream.push(null)`]: #stream_readable_push_chunk_encoding
[`stream.push()`]: #stream_readable_push_chunk_encoding
[`unpipe()`]: #stream_readable_unpipe_destination
[unpiped]: #stream_readable_unpipe_destination
[tcp sockets]: https://iojs.org/dist/v5.0.0/doc/api/net.html#net_class_net_socket
[tcp sockets]: https://nodejs.org/docs/v5.0.0/api/net.html#net_class_net_socket
[zlib streams]: zlib.html
[zlib]: zlib.html
[crypto streams]: crypto.html
[crypto]: crypto.html
[tls.CryptoStream]: https://iojs.org/dist/v5.0.0/doc/api/tls.html#tls_class_cryptostream
[process.stdin]: https://iojs.org/dist/v5.0.0/doc/api/process.html#process_process_stdin
[stdout]: https://iojs.org/dist/v5.0.0/doc/api/process.html#process_process_stdout
[process.stdout]: https://iojs.org/dist/v5.0.0/doc/api/process.html#process_process_stdout
[process.stderr]: https://iojs.org/dist/v5.0.0/doc/api/process.html#process_process_stderr
[child process stdout and stderr]: https://iojs.org/dist/v5.0.0/doc/api/child_process.html#child_process_child_stdout
[tls.CryptoStream]: https://nodejs.org/docs/v5.0.0/api/tls.html#tls_class_cryptostream
[process.stdin]: https://nodejs.org/docs/v5.0.0/api/process.html#process_process_stdin
[stdout]: https://nodejs.org/docs/v5.0.0/api/process.html#process_process_stdout
[process.stdout]: https://nodejs.org/docs/v5.0.0/api/process.html#process_process_stdout
[process.stderr]: https://nodejs.org/docs/v5.0.0/api/process.html#process_process_stderr
[child process stdout and stderr]: https://nodejs.org/docs/v5.0.0/api/child_process.html#child_process_child_stdout
[API for Stream Consumers]: #stream_api_for_stream_consumers
[API for Stream Implementors]: #stream_api_for_stream_implementors
[Readable]: #stream_class_stream_readable
Expand All @@ -1686,7 +1686,7 @@ JSONParseStream.prototype._flush = function(cb) {
[`_write(chunk, encoding, callback)`]: #stream_writable_write_chunk_encoding_callback_1
[`_write()`]: #stream_writable_write_chunk_encoding_callback_1
[_write]: #stream_writable_write_chunk_encoding_callback_1
[`util.inherits`]: https://iojs.org/dist/v5.0.0/doc/api/util.html#util_util_inherits_constructor_superconstructor
[`util.inherits`]: https://nodejs.org/docs/v5.0.0/api/util.html#util_util_inherits_constructor_superconstructor
[`end()`]: #stream_writable_end_chunk_encoding_callback
[`'data'` event]: #stream_event_data
[`resume()`]: #stream_readable_resume
Expand Down

0 comments on commit 3012944

Please sign in to comment.