Skip to content

Commit

Permalink
move api docs to 3x folder
Browse files Browse the repository at this point in the history
/api.html route remains for backwards compat and will point to latest
stable release docs
  • Loading branch information
defunctzombie committed Mar 1, 2014
1 parent b3c31df commit 683fbc4
Show file tree
Hide file tree
Showing 88 changed files with 60 additions and 58 deletions.
37 changes: 37 additions & 0 deletions 3x/api.jade
@@ -0,0 +1,37 @@
!!! 5
html
head
title Express - api reference
include ../includes/head
body.inner
.bar
section#content
header
include ../includes/logo
active = '/3x/api.html'
include ../includes/menu

include ../includes/mixins

include ./en/api/menu

#right
include ./en/api/express

h2 Application
a(name='application')
include ./en/api/app

h2 Request
a(name='request')
include ./en/api/req

h2 Response
a(name='response')
include ./en/api/res

h2 Middleware
a(name='middleware')
include ./en/api/middleware

include ../includes/footer
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -6,11 +6,12 @@ HTML = index.html \
guide.html \
applications.html \
community.html \
faq.html
faq.html \
3x/api.html

docs: $(HTML)

%.html: %.jade
%.html: %.jade includes/*.jade
$(JADE) --path $< < $< > $@

clean:
Expand Down
38 changes: 1 addition & 37 deletions api.jade
@@ -1,37 +1 @@
!!! 5
html
head
title Express - api reference
include includes/head
body.inner
.bar
section#content
header
include includes/logo
active = './api.html'
include includes/menu

include includes/mixins

include en/api/menu

#right
include en/api/express

h2 Application
a(name='application')
include en/api/app

h2 Request
a(name='request')
include en/api/req

h2 Response
a(name='response')
include en/api/res

h2 Middleware
a(name='middleware')
include en/api/middleware

include includes/footer
include ./3x/api
2 changes: 1 addition & 1 deletion applications.jade
Expand Up @@ -8,7 +8,7 @@ html
section#content
header
include includes/logo
active = './applications.html'
active = '/applications.html'
include includes/menu
include en/applications
include includes/footer
2 changes: 1 addition & 1 deletion community.jade
Expand Up @@ -8,7 +8,7 @@ html
section#content
header
include includes/logo
active = './community.html'
active = '/community.html'
include includes/menu
include en/community
include includes/footer
2 changes: 1 addition & 1 deletion faq.jade
Expand Up @@ -8,7 +8,7 @@ html
section#content
header
include includes/logo
active = './faq.html'
active = '/faq.html'
include includes/menu
#faq
include en/faq
Expand Down
2 changes: 1 addition & 1 deletion guide.jade
Expand Up @@ -8,7 +8,7 @@ html
section#content
header
include includes/logo
active = './guide.html'
active = '/guide.html'
include includes/menu

include includes/mixins
Expand Down
2 changes: 1 addition & 1 deletion includes/footer.jade
Expand Up @@ -10,7 +10,7 @@ script.
})();

a#top(href='#')
img(src='images/arrow.png')
img(src='/images/arrow.png')

footer
#footer-content
Expand Down
8 changes: 4 additions & 4 deletions includes/head.jade
@@ -1,6 +1,6 @@
link(rel='stylesheet', href='style.css')
link(rel='stylesheet', href='/style.css')
link(rel='stylesheet', href='//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&amp;subset=latin,latin-ext')
meta(http-equiv='Content-Type', content='text/html; charset=UTF-8')
script(src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js')
script(src='app.js')
script(src='retina.js')
script(src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js')
script(src='/app.js')
script(src='/retina.js')
12 changes: 6 additions & 6 deletions includes/menu.jade
Expand Up @@ -2,10 +2,10 @@
include mixins

nav.clearfix
+item('./') Home
+item('./api.html') API Reference
+item('./guide.html') Guide
+item('./applications.html') Applications
+item('./community.html') Community
+item('./faq.html') FAQ
+item('/') Home
+item('/3x/api.html') API Reference
+item('/guide.html') Guide
+item('/applications.html') Applications
+item('/community.html') Community
+item('/faq.html') FAQ

2 changes: 1 addition & 1 deletion index.jade
Expand Up @@ -9,7 +9,7 @@ html
section#content
header
include includes/logo
active = './'
active = '/'
include includes/menu
section#logos
.content
Expand Down
6 changes: 3 additions & 3 deletions style.css
Expand Up @@ -58,7 +58,7 @@ h2 {
}

h3 {
background: url(images/hr.png) top center no-repeat;
background: url(/images/hr.png) top center no-repeat;
margin-top: 40px;
padding-top: 50px;
padding-bottom: 5px;
Expand Down Expand Up @@ -281,7 +281,7 @@ html[xmlns] .clearfix {
/* boxes */

#boxes {
background: url(images/hr.png) top center no-repeat;
background: url(/images/hr.png) top center no-repeat;
margin-left: 50px;
padding-top: 50px;
padding-bottom: 50px;
Expand Down Expand Up @@ -358,7 +358,7 @@ html[xmlns] .clearfix {
}

.application {
background: url(images/hr.png) top center no-repeat;
background: url(/images/hr.png) top center no-repeat;
padding: 80px 0;
height: 600px;
position: relative;
Expand Down

0 comments on commit 683fbc4

Please sign in to comment.