From c9e5cfcc34843e32ef96b1ab8ca322c8b7ec8fbb Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 11 Dec 2010 02:32:48 -0800 Subject: [PATCH] Random doc fixes --- doc/api/_toc.markdown | 1 - doc/api/all.markdown | 4 +++- doc/api/os.markdown | 2 +- doc/api/securepair.markdown | 0 doc/api/tls.markdown | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 doc/api/securepair.markdown diff --git a/doc/api/_toc.markdown b/doc/api/_toc.markdown index d2c150a6f9..1ee6011793 100644 --- a/doc/api/_toc.markdown +++ b/doc/api/_toc.markdown @@ -11,7 +11,6 @@ * [Buffers](buffers.html) * [Streams](streams.html) * [Crypto](crypto.html) - * [Secure Streams](securepair.html) * [TLS/SSL](tls.html) * [String Decoder](string_decoder.html) * [File System](fs.html) diff --git a/doc/api/all.markdown b/doc/api/all.markdown index 43d5a15f7c..c966dcf0fc 100644 --- a/doc/api/all.markdown +++ b/doc/api/all.markdown @@ -12,7 +12,7 @@ @include buffers @include streams @include crypto -@include securepair +@include tls @include string_decoder @include fs @include path @@ -27,6 +27,8 @@ @include script @include child_processes @include assert +@include tty +@include os # Appendixes @include appendix_1 diff --git a/doc/api/os.markdown b/doc/api/os.markdown index d6250ec8fc..4429bddbfb 100644 --- a/doc/api/os.markdown +++ b/doc/api/os.markdown @@ -2,6 +2,6 @@ Use `require('os')` to access this module. -### os.getHostname +### os.getHostname() Returns the hostname of the operating system. diff --git a/doc/api/securepair.markdown b/doc/api/securepair.markdown deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown index be4190ac4f..d9aec2a73c 100644 --- a/doc/api/tls.markdown +++ b/doc/api/tls.markdown @@ -27,7 +27,7 @@ Alternatively you can send the CSR to a Certificate Authority for signing. `test/fixtures/keys/Makefile` in the Node source code) -#### s = tls.connect(port, [host], [options], callback) +### s = tls.connect(port, [host], [options], callback) Creates a new client connection to the given `port` and `host`. (If `host` defaults to `localhost`.) `options` should be an object which specifies