Skip to content
Myr

executable.html

This file

Path

docs/executable.html

200 lines · 5.1 KiB · HTML

Last changed by

Misc stylingTj Holowaychukbefore adoption7b55867

History of this file

Take it

Executable docsTj Holowaychukbefore adoption21eeb09

lines 1–5why, one step back
1<html>
2 <head>3 <title>Express - node web framework</title>4 <style>5 #header {

Absolute labs bannerTj Holowaychukbefore adoption2b2fa7e

line 6why, one step back
6 position: absolute;

Executable docsTj Holowaychukbefore adoption21eeb09

lines 7–8why, one step back
7 top: 10px;
8 left: 0;

Fixed bannerTj Holowaychukbefore adoption2fda5c7

lines 9–10why, one step back
9 padding: 12px 0;
10 text-indent: 40px;

Executable docsTj Holowaychukbefore adoption21eeb09

lines 11–114why, one step back
11 width: 100%;
12 border-top: 1px solid rgba(0,0,0,0.7);13 border-bottom: 1px solid rgba(0,0,0,0.7);14 background: rgba(255,255,255,0.1) url(http://www.sencha.com/favicon.ico) no-repeat 15px 50%;15 text-align: left;16 color: #fff;17 }18 #tagline {19 margin-left: 75px;20 margin-bottom: 30px;21 color: rgba(255,255,255,0.7); }22 html {23 background: #1c1c1c url(images/bg.tile.jpg); }2425 body {26 margin: 0;27 padding-bottom: 30px;28 font: 14px/1.4 "Helvetica Neue", "Lucida Grande", "Arial";29 font-size: 14px;30 line-height: 1.5;31 -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);32 -moz-text-stroke: 1px rgba(0, 0, 0, 0.1);33 background: url(images/bg.jpg) 50% 0 no-repeat;34 color: #8b8b8b; }3536 * {37 outline: none; }3839 em {40 color: white; }4142 a img {43 border: none !important; }4445 a {46 font-weight: bold;47 color: white;48 -webkit-transition-property: opacity, -webkit-transform, color, background-color, padding, -webkit-box-shadow;49 -webkit-transition-duration: 0.15s;50 -webkit-transition-timing-function: ease-out; }51 a:hover {52 opacity: 0.8; }5354 h1, h2, h3 {55 margin: 45px 0 0 0;56 color: white;57 text-shadow: 1px 2px 2px rgba(0,0,0,0.6); }5859 h3 {60 font-size: 18px; }6162 pre {63 margin: 20px 10px;64 padding: 25px 20px;65 background: rgba(0,0,0,0.5);66 border: 1px solid #323232;67 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);68 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);69 -webkit-border-radius: 5px;70 -moz-border-radius: 5px; }7172 code {73 font-family: "Helvetica Neue", "Lucida Grande", "Arial"; }7475 ul {76 margin: 15px 0;77 padding: 0 0 0 35px; }78 ul li {79 margin: 0;80 padding: 2px 0;81 list-style: square; }8283 .sect {84 margin-left: 40px; }8586 #logo {87 display: block;88 margin-left: 30%;89 margin-bottom: 30px;90 width: 194px;91 height: 51px;92 background: url(images/logo.png) 0 0 no-repeat;93 text-indent: -99999px; }94 #logo:hover {95 opacity: 0.7; }96 #logo:active {97 opacity: 0.3; }9899 #ribbon {100 position: fixed;101 top: 0;102 right: 0;103 z-index: 2; }104105 #wrapper {106 width: 100%;107 min-height: 800px;108 background: url(images/top.png) 0 0 repeat-x; }109110 #container {111 margin: 0 auto;112 padding-top: 110px;113 width: 550px; }114

Setting up TOCTj Holowaychukbefore adoption3e15ef1

lines 115–116why, one step back
115 #toc {
116 position: fixed;

Misc stylingTj Holowaychukbefore adoption7b55867

line 117why, one step back
117 top: 60px;

Setting up TOCTj Holowaychukbefore adoption3e15ef1

lines 118–119why, one step back
118 left: 0;
119 margin: 0 0 0 15px;

Misc stylingTj Holowaychukbefore adoption7b55867

lines 120–123why, one step back
120 padding: 15px;
121 height: 100%;122 background: rgba(0,0,0,0.2);123 border-right: 1px solid rgba(255,255,255,0.05);

Setting up TOCTj Holowaychukbefore adoption3e15ef1

lines 124–127why, one step back
124 }
125 #toc li {126 list-style: none;127 }

Misc stylingTj Holowaychukbefore adoption7b55867

lines 128–130why, one step back
128 #toc li a {
129 font-size: 11px;130 }

Executable docsTj Holowaychukbefore adoption21eeb09

line 131why, one step back
131 #menu {

Added contrib docsTj Holowaychukbefore adoptionf0ba57b

line 132why, one step back
132 margin-left: 65px;

Executable docsTj Holowaychukbefore adoption21eeb09

lines 133–147why, one step back
133 padding: 0;
134 padding-bottom: 30px; }135 #menu li {136 display: inline;137 list-style: none; }138 #menu li a {139 display: block;140 float: left;141 margin: 0 2px;142 padding: 3px 15px;143 background: rgba(0,0,0,0.2);144 -webkit-border-radius: 8px;145 -moz-border-radius: 8px;146 -webkit-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);147 -moz-box-shadow: 1px 2px 2px rgba(0,0,0,0.6);

Removed annoying padding transitionTj Holowaychukbefore adoption346b2a2

line 148why, one step back
148 -webkit-transition-property: opacity, -webkit-transform, color, background-color, -webkit-box-shadow;

Executable docsTj Holowaychukbefore adoption21eeb09

lines 149–167why, one step back
149 -webkit-transition-duration: 0.15s;
150 -webkit-transition-timing-function: ease-out; }151 #menu li a:hover,152 #menu li a.active {153 background: rgba(0,0,0,0.5); }154 #menu li a:active {155 background: rgba(0,0,0,0.1);156 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.4);157 -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.4); }158 </style>159 </head>160 <body>161 <a href='http://github.com/visionmedia/express'> 162 <img alt='Fork me on GitHub' id='ribbon' src='http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png' /> 163 </a>164 <div id="header"><strong>Sencha</strong> labs</div>165 <div id="wrapper">166 <div id="container">167 <a href='http://github.com/visionmedia/express' id='logo'>Express</a>

Fixed bannerTj Holowaychukbefore adoption2fda5c7

lines 168–171why, one step back
168 <p id="tagline">
169 High performance, high class web development for170 <a href="http://nodejs.org">Node.js</a>171 </p>

Added menu to docsTj Holowaychukbefore adoptionac560be

lines 172–174why, one step back
172 <ul id="menu">
173 <li><a href="index.html">Home</a></li>174 <li><a href="guide.html">Guide</a></li>

Added contrib docsTj Holowaychukbefore adoptionf0ba57b

line 175why, one step back
175 <li><a href="contrib.html">Contributing</a></li>

Added menu to docsTj Holowaychukbefore adoptionac560be

lines 176–177why, one step back
176 <li><a href="migrate.html">1.x Migration</a></li>
177 </ul>

Executable docsTj Holowaychukbefore adoption21eeb09

lines 178–180why, one step back
178<div class='mp'>
179<h2 id="Synopsis">Synopsis</h2>180

Regenerated docsTj Holowaychukbefore adoption60cfd56

line 181why, one step back
181<pre><code>express [-h|--help] [-v|--version] [PATH]

Executable docsTj Holowaychukbefore adoption21eeb09

lines 182–191why, one step back
182</code></pre>
183184<h2 id="Description">Description</h2>185186<p>The <code>express</code> executable generates apps at the given <strong>PATH</strong> or the187current working directory. Although Express is not bound to a specific188application structure, this executable creates a maintainable base app.</p>189190<h2 id="Options">Options</h2>191

Docs :)Tj Holowaychukbefore adoption3a21588

lines 192–193why, one step back
192<pre><code>-v, --version Output framework version
193-h, --help Display help information

Executable docsTj Holowaychukbefore adoption21eeb09

lines 194–200why, one step back
194</code></pre>
195196</div>197 </div>198 </div>199 </body>200</html>