contrib.html
This file
Path
docs/contrib.html
216 lines · 5.6 KiB · HTML
Last changed by
Regenerated docs againTj Holowaychukbefore adoption8ead901
History of this fileTake it
The walk stopped after 200 commits: lines older than 5e4d672 point at it.
Executable docsTj Holowaychukbefore adoption5e4d672
lines 1–99why, one step back1<html>2 <head>3 <title>Express - node web framework</title>4 <style>5 #tagline {6 margin-left: 75px;7 margin-bottom: 30px;8 color: rgba(255,255,255,0.7); }9 html {10 background: #1c1c1c url(images/bg.tile.jpg); }1112 body {13 margin: 0;14 padding-bottom: 30px;15 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";16 font-size: 14px;17 line-height: 1.5;18 -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);19 -moz-text-stroke: 1px rgba(0, 0, 0, 0.1);20 background: url(images/bg.jpg) 50% 0 no-repeat;21 color: #8b8b8b; }2223 * {24 outline: none; }2526 em {27 color: white; }2829 a img {30 border: none !important; }3132 a {33 font-weight: bold;34 text-decoration: none;35 color: white;36 -webkit-transition-property: opacity, -webkit-transform, color, background-color, padding, -webkit-box-shadow;37 -webkit-transition-duration: 0.15s;38 -webkit-transition-timing-function: ease-out; }39 a:hover {40 opacity: 0.8; }4142 h1, h2, h3 {43 margin: 45px 0 0 0;44 color: white;45 text-shadow: 1px 2px 2px rgba(0,0,0,0.6); }4647 h3 {48 font-size: 18px; }4950 pre {51 margin: 20px 10px;52 padding: 25px 20px;53 background: rgba(0,0,0,0.5);54 border: 1px solid #323232;55 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);56 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);57 -webkit-border-radius: 5px;58 -moz-border-radius: 5px; }5960 code {61 font-family: "Helvetica Neue", "Lucida Grande", "Arial"; }6263 ul {64 margin: 15px 0;65 padding: 0 0 0 35px; }66 ul li {67 margin: 0;68 padding: 2px 0;69 list-style: square; }7071 .sect {72 margin-left: 40px; }7374 #logo {75 display: block;76 margin-left: 30%;77 margin-bottom: 30px;78 width: 194px;79 height: 51px;80 background: url(images/logo.png) 0 0 no-repeat;81 text-indent: -99999px; }82 #logo:hover {83 opacity: 0.7; }84 #logo:active {85 opacity: 0.3; }8687 #ribbon {88 position: fixed;89 top: 0;90 right: 0;91 z-index: 2; }9293 #wrapper {94 width: 100%;95 min-height: 800px;96 background: url(images/top.png) 0 0 repeat-x; }9798 #container {99 margin: 0 auto;Regenerated docs againTj Holowaychukbefore adoption8ead901
line 100why, one step back100 padding-top: 80px;Executable docsTj Holowaychukbefore adoption5e4d672
lines 101–104why, one step back101 width: 550px; }102103 #toc {104 position: fixed;Regenerated docs againTj Holowaychukbefore adoption8ead901
line 105why, one step back105 top: 0;Executable docsTj Holowaychukbefore adoption5e4d672
lines 106–113why, one step back106 left: 0;107 margin: 0 0 0 15px;108 padding: 15px;109 height: 100%;110 background: rgba(0,0,0,0.2);111 border-right: 1px solid rgba(255,255,255,0.05);112 }113 #toc li {More view docsTj Holowaychukbefore adoption1c8ff48
line 114why, one step back114 padding: 0;Executable docsTj Holowaychukbefore adoption5e4d672
lines 115–188why, one step back115 list-style: none;116 }117 #toc li a {118 font-size: 11px;119 }120 #menu {121 margin-left: 65px;122 padding: 0;123 padding-bottom: 30px; }124 #menu li {125 display: inline;126 list-style: none; }127 #menu li a {128 display: block;129 float: left;130 margin: 0 2px;131 padding: 3px 15px;132 background: rgba(0,0,0,0.2);133 -webkit-border-radius: 8px;134 -moz-border-radius: 8px;135 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);136 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);137 -webkit-transition-property: opacity, -webkit-transform, color, background-color, -webkit-box-shadow;138 -webkit-transition-duration: 0.15s;139 -webkit-transition-timing-function: ease-out; }140 #menu li a:hover,141 #menu li a.active {142 background: rgba(0,0,0,0.5); }143 #menu li a:active {144 background: rgba(0,0,0,0.1);145 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.4);146 -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.4); }147 </style>148 </head>149 <body>150 <a href='http://github.com/visionmedia/express'> 151 <img alt='Fork me on GitHub' id='ribbon' src='http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png' /> 152 </a>153 <div id="wrapper">154 <div id="container">155 <a href='http://github.com/visionmedia/express' id='logo'>Express</a> 156 <p id="tagline">157 High performance, high class web development for158 <a href="http://nodejs.org">Node.js</a>159 </p>160 <ul id="menu">161 <li><a href="index.html">Home</a></li>162 <li><a href="guide.html">Guide</a></li>163 <li><a href="contrib.html">Contributing</a></li>164 <li><a href="migrate.html">1.x Migration</a></li>165 </ul>166<div class='mp'>167<h3 id="Development-Dependencies">Development Dependencies</h3>168169<p>Express development dependencies are stored within the <em>./support</em> directory. To170update them execute:</p>171172<pre><code>$ git submodule update --init173</code></pre>174175<h3 id="Running-Tests">Running Tests</h3>176177<p>Express uses the <a href="http://github.com/visionmedia/expresso">Expresso</a> TDD178framework to write and run elegant test suites extremely fast. To run all test suites179simply execute:</p>180181<pre><code>$ make test182</code></pre>183184<p>To target specific suites we may specify the files via:</p>185186<pre><code>$ make test TESTS=test/view.test.js187</code></pre>188Added test-cov docs to contrib guideTj Holowaychukbefore adoption1fb73e2
lines 189–193why, one step back189<p>To check test coverage run:</p>190191<pre><code>$ make test-cov192</code></pre>193Executable docsTj Holowaychukbefore adoption5e4d672
lines 194–206why, one step back194<h3 id="Contributions">Contributions</h3>195196<p>To accept a contribution, you should follow these guidelines:</p>197198<ul>199<li>All tests <em>must</em> pass</li>200<li>Your alterations or additions <em>must</em> include tests</li>201<li>Your commit(s) should be <em>focused</em>, do not commit once for several changes</li>202<li>Do <em>not</em> alter release information such as the <em>version</em>, or <em>History.md</em></li>203<li>Indents are <em>4</em> spaces.</li>204</ul>205206Updated docsTj Holowaychukbefore adoption3234329
lines 207–211why, one step back207<h3 id="Documentation">Documentation</h3>208209<p>To contribute documentation edit the markdown files in <em>./docs</em>, however210do <em>not</em> run <em>make docs</em>, as they will be re-built and published with each release.</p>211Executable docsTj Holowaychukbefore adoption5e4d672
lines 212–216why, one step back212</div>213 </div>214 </div>215 </body>216</html>