Browse Source

Improve(\?) docs

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
03ea4b644e
  1. 1104
      doc/api.markdown
  2. 126
      doc/api_header.html

1104
doc/api.markdown

File diff suppressed because it is too large

126
doc/api_header.html

@ -4,29 +4,25 @@
<meta name='generator' value='Ronn/v0.4.1'> <meta name='generator' value='Ronn/v0.4.1'>
<title>node(1) -- evented I/O for V8 JavaScript</title> <title>node(1) -- evented I/O for V8 JavaScript</title>
<style type='text/css'> <style type='text/css'>
body { body {margin:0}
margin:0;
background: #22252a;
color:#eee;
}
#man, #man code, #man pre, #man tt, #man kbd, #man samp { #man, #man code, #man pre, #man tt, #man kbd, #man samp {
font-family:consolas,monospace; font-family:consolas,monospace;
font-size:14px; font-size:16px;
line-height:1.3; line-height:1.3;
color:#eee; color:#343331;
background:#22252a; } background:#fff; }
#man { max-width:89ex; text-align:justify; margin:0 25px 25px 25px } #man { max-width:89ex; text-align:justify; margin:0 25px 25px 25px }
#man h1, #man h2, #man h3 { color:#DCDDDE;clear:left } #man h1, #man h2, #man h3 { color:#232221;clear:left }
#man h1 { font-size:28px; margin:15px 0 30px 0; text-align:center } #man h1 { font-size:28px; margin:15px 0 30px 0; text-align:center }
#man h2 { font-size:18px; margin-bottom:0; margin-top:10px; line-height:1.3; } #man h2 { font-size:18px; margin-bottom:0; margin-top:10px; line-height:1.3; }
#man h3 { font-size:16px; margin:0 0 0 4ex; } #man h3 { font-size:16px; margin:0 0 0 4ex; }
#man p, #man ul, #man ol, #man dl, #man pre { margin:0 0 18px 0; } #man p, #man ul, #man ol, #man dl, #man pre { margin:0 0 18px 0; }
#man pre { #man pre {
color:#CCCDCE; color:#333231;
background:#121314; background:#edeceb;
padding:5px 7px; padding:5px 7px;
margin:0px 0 20px 0; margin:0px 0 20px 0;
border-left:2ex solid #222} border-left:2ex solid #ddd}
#man pre + h2, #man pre + h3 { #man pre + h2, #man pre + h3 {
margin-top:22px; margin-top:22px;
} }
@ -37,59 +33,107 @@
#man dt { margin:0; clear:left } #man dt { margin:0; clear:left }
#man dt.flush { float:left; width:8ex } #man dt.flush { float:left; width:8ex }
#man dd { margin:0 0 0 9ex } #man dd { margin:0 0 0 9ex }
#man code, #man strong, #man b { font-weight:bold; color:#ECEDEE; } #man code, #man strong, #man b { font-weight:bold; color:#131211; }
#man pre code { font-weight:normal; color:#DCDDDE; background:inherit } #man pre code { font-weight:normal; color:#232221; background:inherit }
#man em, var, u { #man em, var, u {
font-style:normal; color:#CCCDCE; border-bottom:1px solid #999; } font-style:normal; color:#333231; border-bottom:1px solid #999; }
#man h1.man-title { display:none; } #man h1.man-title { display:none; }
#man ol.man, #man ol.man li { margin:2px 0 10px 0; padding:0; #man ol.man, #man ol.man li { margin:2px 0 10px 0; padding:0;
float:left; width:33%; list-style-type:none; float:left; width:33%; list-style-type:none;
text-transform:uppercase; font-size:18px; color:#666; text-transform:uppercase; font-size:18px; color:#999;
letter-spacing:1px;} letter-spacing:1px;}
#man ol.man { width:100%; } #man ol.man { width:100%; }
#man ol.man li.tl { text-align:left } #man ol.man li.tl { text-align:left }
#man ol.man li.tc { text-align:center;letter-spacing:4px } #man ol.man li.tc { text-align:center;letter-spacing:4px }
#man ol.man li.tr { text-align:right } #man ol.man li.tr { text-align:right }
#man ol.man a { color:#666; } #man ol.man a { color:#999 }
#man ol.man a:hover { color:#CCCDCE; } #man ol.man a:hover { color:#333231 }
body {
background:#fff;
color:#333;
font-family:helvetica;
font-size:14px;
line-height:1.3em;
padding:25px;
}
#man {
width: 50%;
margin: 0 0 0 22em;
}
#toc { #toc {
left:94ex; position: fixed;
top: 5ex; left: 0;
float: right; top: 0;
position: absolute; bottom: 0;
font-size: inherit; width: 20em;
font-family:consolas,monospace; border-right: 1px solid #ccc;
overflow: auto;
} }
@media all and (min-height: 650px) { #toc { position: fixed; }} #toc #toctitle {
#toctitle { background: #eee;
display: none; padding: 1em;
} }
#toc ol { #toc ul {
list-style: none; list-style: none;
}
#toc ol, .toclevel2 {
margin: 0; margin: 0;
padding: 0; padding: 0;
padding-left: 1em; }
} #toc ul li {
#toc ol li {
margin: 0; margin: 0;
border: 1px solid #ccc;
border-width: 1px 0 0;
}
#toc ul li a {
padding: 0.2em 0.4em;
}
#toc ul li {
padding: 0.4em 0;
}
#toc ul li.topLevel a {
padding-left: 2.4em;
}
#toc ul li ul {
margin: 0.4em 0 0 0;
}
#toc ul li ul li {
padding: 0.4em 0 0.4em 1em;
}
#toc ul li .toggler {
width: 1em;
display: block;
float: left;
padding: 0; padding: 0;
} margin: 0 0 0 1em;
#toc a { }
text-decoration: none;
color: inherit;
} h2 {
margin: 0;
padding: 2em 0 0.5em 0;
}
h3 {
margin: 0;
padding: 2em 0 0;
}
</style> </style>
<script type="text/javascript" src="./jquery.js"></script> <script type="text/javascript" src="./jquery.js"></script>
<script type="text/javascript" src="./doc.js"></script>
<!-- FIXME for light background
<script type="text/javascript" src="./sh_main.js"></script> <script type="text/javascript" src="./sh_main.js"></script>
<script type="text/javascript" src="./sh_javascript.min.js"></script> <script type="text/javascript" src="./sh_javascript.min.js"></script>
<script type="text/javascript" src="./doc.js"></script> <link rel="stylesheet" href="./sh_vim-dark.css" type="text/css" />
<link rel="stylesheet" href="./sh_vim-dark.css" type="text/css" /> -->
</head> </head>
<body> <body>
<div id="toc"> <div id="toc">
<div id="toctitle">Table of Contents</div> <div id="toctitle">Node.js v0.1.90</div>
<noscript>JavaScript must be enabled in your browser to display the table of contents.</noscript> <noscript>JavaScript must be enabled in your browser to display the table of contents.</noscript>
</div> </div>
<div id='man'> <div id='man'>

Loading…
Cancel
Save