Roman Reiss
39cb69ca21
doc: style fixes for the TOC
...
- Hide the scrollbar on the TOC on all browsers. It was never the
intention for it to be visible with the scroll indication in place.
A wrapper element with 20px padding was added to accommodate for
hopefully all scrollbar widths as well as to avoid overflowing
content.
- Fixed the scroll indication gradient on Safari, which was caused by
the wrong from-color, which now matches the to-color.
- Fixed a issue in old IE where the TOC didn't render on the correct
position through setting `left: 0` and `top: 0` on it.
PR-URL: https://github.com/nodejs/node/pull/4748
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-02-15 11:30:23 -08:00
Alexander Makarenko
cb5986da81
doc: add servername parameter docs
...
Add `servername` parameter docs for `https.request()` method.
Follows #4389
PR-URL: https://github.com/nodejs/node/pull/4729
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-15 11:30:23 -08:00
Rod Vagg
91066b5f34
doc: update branch-diff arguments in release doc
...
PR-URL: https://github.com/nodejs/node/pull/4691
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-02-15 11:30:23 -08:00
zoubin
9ca24de41d
doc: add docs for more stream options
...
PR-URL: https://github.com/nodejs/node/pull/4639
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chris Dickinson <chris@neversaw.us >
2016-02-15 11:30:23 -08:00
Evan Lucas
26f02405d0
repl: make sure historyPath is trimmed
...
If one were to set NODE_REPL_HISTORY to a string that contains only a
space (" "), then the history file would be created with that name
which can cause problems are certain systems.
PR-URL: https://github.com/nodejs/node/pull/4539
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-02-15 11:30:23 -08:00
Ryan Sobol
437d0e336d
doc: mention that http.Server inherits from net.Server
...
PR-URL: https://github.com/nodejs/node/pull/4455
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-02-15 11:30:23 -08:00
Rich Trott
393e569160
doc: copyedit setTimeout() documentation
...
Copyedit the documentation for setTimeout() and enforce wrapping at 80
characters in the markdown file for nearby text.
PR-URL: https://github.com/nodejs/node/pull/4434
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com >
Reviewed-By: Stephan Belanger <admin@stephenbelanger.com >
2016-02-15 11:30:23 -08:00
Rich Trott
e2a682ecc3
doc: fix formatting in process.markdown
...
All the other properties get an h2/## but process.connected gets an
h3/### for no discernible reason. Change it to h2/## like the others.
PR-URL: https://github.com/nodejs/node/pull/4433
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Stephan Belanger <admin@stephenbelanger.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-02-15 11:30:23 -08:00
Claudio Rodriguez
75b0ea85bd
doc: add path property to Write/ReadStream in fs.markdown
...
Documents the "path" property on fs.WriteStream
and fs.ReadStream. See #4327
PR-URL: https://github.com/nodejs/node/pull/4368
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-02-15 11:30:23 -08:00
James M Snell
cf2b714b02
http: strictly forbid invalid characters from headers
...
PR-URL: https://github.com/nodejs/node-private/pull/20
2016-02-09 08:42:15 -08:00
cjihrig
8c2b65ad82
doc: clarify protocol default in http.request()
...
The previously listed default of 'http' is incorrect, and
causes an error to be thrown. This commit changes it to the
correct value of 'http:'
Fixes: https://github.com/nodejs/node/issues/4712
PR-URL: https://github.com/nodejs/node/pull/4714
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:42 -08:00
jpersson
33e72e135f
doc: update links to use https where possible
...
PR-URL: https://github.com/nodejs/node/pull/4054
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-01-19 11:52:41 -08:00
Vitor Cortez
5f4aa79410
doc: clarify explanation of first stream section
...
The last sentence of the explanation for the first stream section
seemed a bit confusing. I tried to change the sentence to clarify it.
Additionally, the sections were turned into a numbered list to be more
clear about which section is being described, and improve readability.
PR-URL: https://github.com/nodejs/node/pull/4234
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:40 -08:00
Myles Borins
50b72aa5a3
docs: fix npm command in releases.md
...
PR-URL: https://github.com/nodejs/node/pull/4656
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:38 -08:00
Myles Borins
295ca5bfb2
doc: add branch-diff example to releases.md
...
Useful to have for reference, especially for onboarding
PR-URL: https://github.com/nodejs/node/pull/4636
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell<jasnell@gmail.com >
2016-01-19 11:52:38 -08:00
Roman Reiss
18f5cd8710
doc: update stylesheet to match frontpage
...
- Changed colors to match frontpage as close as possible.
- Links are slightly more horizontally padded as compared before to
accomodate for the hover effect.
- Slightly reduced the scroll indication height on the TOC.
- The main content is now offset using margin instead of the previous
border hack.
- remove empty footer that was rendering a dark bar on the bottom of
each page without any content.
PR-URL: https://github.com/nodejs/node/pull/4621
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
2016-01-19 11:52:37 -08:00
Robert Jefe Lindstaedt
2f40715f08
doc: adds usage of readline line-by-line parsing
...
In order to make developers aware of node-core built-in
functionality, which might replace module APIs, we should
add an example of readline`s interface usage.
SEO will eventually aid this goal, since it is well searched
on Q&A sites.
PR-URL: https://github.com/nodejs/node/pull/4609
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: James M Snell <jasnell@gmail.com >>
2016-01-19 11:52:37 -08:00
Sequoia McDowell
5b45a464ee
doc: document http's server.listen return value
...
The server method returns `self` in order to allow chaining.
PR-URL: https://github.com/nodejs/node/pull/4590
Fixes: https://github.com/nodejs/node/issues/4571
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-01-19 11:52:37 -08:00
Sequoia McDowell
bd31740339
doc: label http.IncomingMessage as a Class
...
`Server`, `ServerResponse` etc. were marked as classes, this one class
was overlooked.
PR-URL: https://github.com/nodejs/node/pull/4589
Fixes: https://github.com/nodejs/node/issues/4576
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-01-19 11:52:37 -08:00
Brian White
54977e63eb
doc: add missing backtick for readline
...
PR-URL: https://github.com/nodejs/node/pull/4549
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-01-19 11:52:36 -08:00
cjihrig
5d6bed895c
doc: bring releases.md up to date
...
Refs: https://github.com/nodejs/node/issues/3254
PR-URL: https://github.com/nodejs/node/pull/4540
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:36 -08:00
Richard Sun
0cd2252e85
doc: fix numbering in stream.markdown
...
PR-URL: https://github.com/nodejs/node/pull/4538
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-01-19 11:52:36 -08:00
Wyatt Preul
8574d91f27
doc: stronger suggestion for userland assert
...
Fixes: https://github.com/nodejs/node/issues/4532
PR-URL: https://github.com/nodejs/node/pull/4535
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-01-19 11:52:36 -08:00
Dave
a7bcf8b84d
doc: close backtick in process.title description
...
PR-URL: https://github.com/nodejs/node/pull/4534
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
2016-01-19 11:52:36 -08:00
James M Snell
0ceb3148b0
doc: improvements to events.markdown copy
...
General improvements to events.markdown copy including a
bit of restructuring and improved examples
PR-URL: https://github.com/nodejs/node/pull/4468
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2016-01-19 11:52:34 -08:00
Ben Ripkens
bf56d509b9
doc: explain ClientRequest#setTimeout time unit
...
State a time unit for the timeout parameter in ClientRequest#setTimeout
PR-URL: https://github.com/nodejs/node/pull/4458
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:34 -08:00
James M Snell
d927c51be3
doc: improvements to errors.markdown copy
...
General improvements to errors.markdown including
improved/revised examples
PR-URL: https://github.com/nodejs/node/pull/4454
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
2016-01-19 11:52:34 -08:00
James M Snell
ceea6df581
doc: improvements to dns.markdown copy
...
General improvements to dns.markdown copy and examples
PR-URL: https://github.com/nodejs/node/pull/4449
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2016-01-19 11:52:34 -08:00
iamchenxin
506f2f8ed1
doc: add anchors for _transform _flush _writev in stream.markdown
...
PR-URL: https://github.com/nodejs/node/pull/4448
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:34 -08:00
James M Snell
74bcad0b78
doc: improvements to dgram.markdown copy
...
General improvements to dgram.markdown copy
PR-URL: https://github.com/nodejs/node/pull/4437
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Stephan Belanger <admin@stephenbelanger.com >
2016-01-19 11:52:28 -08:00
James M Snell
e244d560c9
doc: improvements to debugger.markdown copy
...
General improvements to debugger.markdown
PR-URL: https://github.com/nodejs/node/pull/4436
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-01-19 11:52:28 -08:00
James M Snell
df7e1281a5
doc: improvements to console.markdown copy
...
Several improvements including a few new examples
PR-URL: https://github.com/nodejs/node/pull/4428
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-01-19 11:52:28 -08:00
James M Snell
823269db2d
doc: improve assert.markdown copy
...
General improvements to assert.markdown copy including
new and improved examples
PR-URL: https://github.com/nodejs/node/pull/4360
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-01-19 11:52:27 -08:00
Rich Trott
2b1804f6cb
doc: copyedit releases.md
...
PR-URL: https://github.com/nodejs/node/pull/4384
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-01-19 11:52:26 -08:00
Nicholas Young
ed87873de3
doc: fix link in addons.markdown
...
Update link from github.com/rvagg to github.com/nodejs
PR-URL: https://github.com/nodejs/node/pull/4331
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:25 -08:00
chrisjohn404
fe693b7a4f
doc: Typo in buffer.markdown referencing buf.write()
...
The buffer's write function is documented below the
buf.toString function and all of the docs reference
"buf" instead of "buffer".
PR-URL: https://github.com/nodejs/node/pull/4324
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:25 -08:00
Jackson Tian
764df2166e
doc: document the cache parameter for fs.realpathSync
...
PR-URL: https://github.com/nodejs/node/pull/4285
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:25 -08:00
James M Snell
61f91b2f29
doc: fix, modernize examples in docs
...
* Use single quotes consistently
* Modernize examples to use template strings and arrow funcs
* Fix a few typos
* Example edits for consistency
PR-URL: https://github.com/nodejs/node/pull/4282
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-01-19 11:52:24 -08:00
Lenny Markus
d87ad302ce
doc: clarify error events in HTTP module documentation
...
Make it clear that error with throw if error listener is
not registered.
PR-URL: https://github.com/nodejs/node/pull/4275
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:24 -08:00
Hideki Yamamura
7983577e41
doc: fix improper http.get sample code
...
Refs: https://github.com/nodejs/node-v0.x-archive/pull/25471
Refs: https://github.com/nodejs/node-v0.x-archive/issues/8443
PR-URL: https://github.com/nodejs/node/pull/4263
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:24 -08:00
Tom Gallacher
6c30d087e5
doc: Fixing broken links to the v8 wiki
...
PR-URL: https://github.com/nodejs/node/pull/4241
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
2016-01-19 11:52:23 -08:00
janriemer
cf214e56e4
doc: move description of 'equals' method to right place
...
the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature
PR-URL: https://github.com/nodejs/node/pull/4227
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:23 -08:00
Rich Trott
fb8e8dbb92
doc: copyedit console doc
...
PR-URL: https://github.com/nodejs/node/pull/4225
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:22 -08:00
Ben Noordhuis
5140c404ae
doc: harmonize description of ca argument
...
Different sections said different things about what the `ca` argument
should look like. This commit harmonizes them.
Ref: https://github.com/nodejs/node/pull/4099
PR-URL: https://github.com/nodejs/node/pull/4213
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-01-19 11:52:22 -08:00
Rich Trott
2e642051cf
doc: copyedit child_process doc
...
PR-URL: https://github.com/nodejs/node/pull/4188
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
2016-01-19 11:52:20 -08:00
Rich Trott
7920f8dbde
doc: copyedit buffer doc
...
PR-URL: https://github.com/nodejs/node/pull/4187
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-01-19 11:52:20 -08:00
Rich Trott
c35a409cbe
doc: clarify assert.fail doc
...
PR-URL: https://github.com/nodejs/node/pull/4186
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
2016-01-19 11:52:20 -08:00
Rich Trott
6235fdf72e
doc: copyedit addons doc
...
PR-URL: https://github.com/nodejs/node/pull/4185
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
2016-01-19 11:52:20 -08:00
Roman Klauke
8d676ef55e
doc: change references from node to Node.js
...
Some API doc referenced Node.js with "node" or "node.js". This commit
replaces these references.
PR-URL:https://github.com/nodejs/node/pull/4177
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
2016-01-19 11:52:20 -08:00
Bryan English
830caeb1bd
doc, test: symbols as event names
...
* Document that Symbol can used as event names.
* Add test for using Symbol as event names
PR-URL: https://github.com/nodejs/node/pull/4151
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-01-19 11:52:18 -08:00