Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move api docs to 3x folder

/api.html route remains for backwards compat and will point to latest
stable release docs
  • Loading branch information...
commit 683fbc458aa2d97b12a5760a406f38258a0fcce0 1 parent b3c31df
@defunctzombie defunctzombie authored
Showing with 60 additions and 58 deletions.
  1. +37 −0 3x/api.jade
  2. 0  { → 3x}/en/api/app-VERB.jade
  3. 0  { → 3x}/en/api/app-all.jade
  4. 0  { → 3x}/en/api/app-configure.jade
  5. 0  { → 3x}/en/api/app-disable.jade
  6. 0  { → 3x}/en/api/app-disabled.jade
  7. 0  { → 3x}/en/api/app-enable.jade
  8. 0  { → 3x}/en/api/app-enabled.jade
  9. 0  { → 3x}/en/api/app-engine.jade
  10. 0  { → 3x}/en/api/app-get.jade
  11. 0  { → 3x}/en/api/app-listen.jade
  12. 0  { → 3x}/en/api/app-locals.jade
  13. 0  { → 3x}/en/api/app-param.jade
  14. 0  { → 3x}/en/api/app-render.jade
  15. 0  { → 3x}/en/api/app-routes.jade
  16. 0  { → 3x}/en/api/app-set.jade
  17. 0  { → 3x}/en/api/app-settings.jade
  18. 0  { → 3x}/en/api/app-use.jade
  19. 0  { → 3x}/en/api/app.jade
  20. 0  { → 3x}/en/api/express.jade
  21. 0  { → 3x}/en/api/menu.jade
  22. 0  { → 3x}/en/api/middleware.jade
  23. 0  { → 3x}/en/api/mw-basicAuth.jade
  24. 0  { → 3x}/en/api/mw-bodyParser.jade
  25. 0  { → 3x}/en/api/mw-compress.jade
  26. 0  { → 3x}/en/api/mw-cookieParser.jade
  27. 0  { → 3x}/en/api/mw-cookieSession.jade
  28. 0  { → 3x}/en/api/mw-csrf.jade
  29. 0  { → 3x}/en/api/mw-directory.jade
  30. 0  { → 3x}/en/api/req-accepted.jade
  31. 0  { → 3x}/en/api/req-acceptedCharsets.jade
  32. 0  { → 3x}/en/api/req-acceptedLanguages.jade
  33. 0  { → 3x}/en/api/req-accepts.jade
  34. 0  { → 3x}/en/api/req-acceptsCharset.jade
  35. 0  { → 3x}/en/api/req-acceptsLanguage.jade
  36. 0  { → 3x}/en/api/req-body.jade
  37. 0  { → 3x}/en/api/req-cookies.jade
  38. 0  { → 3x}/en/api/req-files.jade
  39. 0  { → 3x}/en/api/req-fresh.jade
  40. 0  { → 3x}/en/api/req-header.jade
  41. 0  { → 3x}/en/api/req-host.jade
  42. 0  { → 3x}/en/api/req-ip.jade
  43. 0  { → 3x}/en/api/req-ips.jade
  44. 0  { → 3x}/en/api/req-is.jade
  45. 0  { → 3x}/en/api/req-originalUrl.jade
  46. 0  { → 3x}/en/api/req-param.jade
  47. 0  { → 3x}/en/api/req-params.jade
  48. 0  { → 3x}/en/api/req-path.jade
  49. 0  { → 3x}/en/api/req-protocol.jade
  50. 0  { → 3x}/en/api/req-query.jade
  51. 0  { → 3x}/en/api/req-route.jade
  52. 0  { → 3x}/en/api/req-secure.jade
  53. 0  { → 3x}/en/api/req-signedCookies.jade
  54. 0  { → 3x}/en/api/req-stale.jade
  55. 0  { → 3x}/en/api/req-subdomains.jade
  56. 0  { → 3x}/en/api/req-xhr.jade
  57. 0  { → 3x}/en/api/req.jade
  58. 0  { → 3x}/en/api/res-attachment.jade
  59. 0  { → 3x}/en/api/res-charset.jade
  60. 0  { → 3x}/en/api/res-clearCookie.jade
  61. 0  { → 3x}/en/api/res-cookie.jade
  62. 0  { → 3x}/en/api/res-download.jade
  63. 0  { → 3x}/en/api/res-format.jade
  64. 0  { → 3x}/en/api/res-get.jade
  65. 0  { → 3x}/en/api/res-json.jade
  66. 0  { → 3x}/en/api/res-jsonp.jade
  67. 0  { → 3x}/en/api/res-links.jade
  68. 0  { → 3x}/en/api/res-locals.jade
  69. 0  { → 3x}/en/api/res-location.jade
  70. 0  { → 3x}/en/api/res-redirect.jade
  71. 0  { → 3x}/en/api/res-render.jade
  72. 0  { → 3x}/en/api/res-send.jade
  73. 0  { → 3x}/en/api/res-sendfile.jade
  74. 0  { → 3x}/en/api/res-set.jade
  75. 0  { → 3x}/en/api/res-status.jade
  76. 0  { → 3x}/en/api/res-type.jade
  77. 0  { → 3x}/en/api/res.jade
  78. +3 −2 Makefile
  79. +1 −37 api.jade
  80. +1 −1  applications.jade
  81. +1 −1  community.jade
  82. +1 −1  faq.jade
  83. +1 −1  guide.jade
  84. +1 −1  includes/footer.jade
  85. +4 −4 includes/head.jade
  86. +6 −6 includes/menu.jade
  87. +1 −1  index.jade
  88. +3 −3 style.css
View
37 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
View
0  en/api/app-VERB.jade → 3x/en/api/app-VERB.jade
File renamed without changes
View
0  en/api/app-all.jade → 3x/en/api/app-all.jade
File renamed without changes
View
0  en/api/app-configure.jade → 3x/en/api/app-configure.jade
File renamed without changes
View
0  en/api/app-disable.jade → 3x/en/api/app-disable.jade
File renamed without changes
View
0  en/api/app-disabled.jade → 3x/en/api/app-disabled.jade
File renamed without changes
View
0  en/api/app-enable.jade → 3x/en/api/app-enable.jade
File renamed without changes
View
0  en/api/app-enabled.jade → 3x/en/api/app-enabled.jade
File renamed without changes
View
0  en/api/app-engine.jade → 3x/en/api/app-engine.jade
File renamed without changes
View
0  en/api/app-get.jade → 3x/en/api/app-get.jade
File renamed without changes
View
0  en/api/app-listen.jade → 3x/en/api/app-listen.jade
File renamed without changes
View
0  en/api/app-locals.jade → 3x/en/api/app-locals.jade
File renamed without changes
View
0  en/api/app-param.jade → 3x/en/api/app-param.jade
File renamed without changes
View
0  en/api/app-render.jade → 3x/en/api/app-render.jade
File renamed without changes
View
0  en/api/app-routes.jade → 3x/en/api/app-routes.jade
File renamed without changes
View
0  en/api/app-set.jade → 3x/en/api/app-set.jade
File renamed without changes
View
0  en/api/app-settings.jade → 3x/en/api/app-settings.jade
File renamed without changes
View
0  en/api/app-use.jade → 3x/en/api/app-use.jade
File renamed without changes
View
0  en/api/app.jade → 3x/en/api/app.jade
File renamed without changes
View
0  en/api/express.jade → 3x/en/api/express.jade
File renamed without changes
View
0  en/api/menu.jade → 3x/en/api/menu.jade
File renamed without changes
View
0  en/api/middleware.jade → 3x/en/api/middleware.jade
File renamed without changes
View
0  en/api/mw-basicAuth.jade → 3x/en/api/mw-basicAuth.jade
File renamed without changes
View
0  en/api/mw-bodyParser.jade → 3x/en/api/mw-bodyParser.jade
File renamed without changes
View
0  en/api/mw-compress.jade → 3x/en/api/mw-compress.jade
File renamed without changes
View
0  en/api/mw-cookieParser.jade → 3x/en/api/mw-cookieParser.jade
File renamed without changes
View
0  en/api/mw-cookieSession.jade → 3x/en/api/mw-cookieSession.jade
File renamed without changes
View
0  en/api/mw-csrf.jade → 3x/en/api/mw-csrf.jade
File renamed without changes
View
0  en/api/mw-directory.jade → 3x/en/api/mw-directory.jade
File renamed without changes
View
0  en/api/req-accepted.jade → 3x/en/api/req-accepted.jade
File renamed without changes
View
0  en/api/req-acceptedCharsets.jade → 3x/en/api/req-acceptedCharsets.jade
File renamed without changes
View
0  en/api/req-acceptedLanguages.jade → 3x/en/api/req-acceptedLanguages.jade
File renamed without changes
View
0  en/api/req-accepts.jade → 3x/en/api/req-accepts.jade
File renamed without changes
View
0  en/api/req-acceptsCharset.jade → 3x/en/api/req-acceptsCharset.jade
File renamed without changes
View
0  en/api/req-acceptsLanguage.jade → 3x/en/api/req-acceptsLanguage.jade
File renamed without changes
View
0  en/api/req-body.jade → 3x/en/api/req-body.jade
File renamed without changes
View
0  en/api/req-cookies.jade → 3x/en/api/req-cookies.jade
File renamed without changes
View
0  en/api/req-files.jade → 3x/en/api/req-files.jade
File renamed without changes
View
0  en/api/req-fresh.jade → 3x/en/api/req-fresh.jade
File renamed without changes
View
0  en/api/req-header.jade → 3x/en/api/req-header.jade
File renamed without changes
View
0  en/api/req-host.jade → 3x/en/api/req-host.jade
File renamed without changes
View
0  en/api/req-ip.jade → 3x/en/api/req-ip.jade
File renamed without changes
View
0  en/api/req-ips.jade → 3x/en/api/req-ips.jade
File renamed without changes
View
0  en/api/req-is.jade → 3x/en/api/req-is.jade
File renamed without changes
View
0  en/api/req-originalUrl.jade → 3x/en/api/req-originalUrl.jade
File renamed without changes
View
0  en/api/req-param.jade → 3x/en/api/req-param.jade
File renamed without changes
View
0  en/api/req-params.jade → 3x/en/api/req-params.jade
File renamed without changes
View
0  en/api/req-path.jade → 3x/en/api/req-path.jade
File renamed without changes
View
0  en/api/req-protocol.jade → 3x/en/api/req-protocol.jade
File renamed without changes
View
0  en/api/req-query.jade → 3x/en/api/req-query.jade
File renamed without changes
View
0  en/api/req-route.jade → 3x/en/api/req-route.jade
File renamed without changes
View
0  en/api/req-secure.jade → 3x/en/api/req-secure.jade
File renamed without changes
View
0  en/api/req-signedCookies.jade → 3x/en/api/req-signedCookies.jade
File renamed without changes
View
0  en/api/req-stale.jade → 3x/en/api/req-stale.jade
File renamed without changes
View
0  en/api/req-subdomains.jade → 3x/en/api/req-subdomains.jade
File renamed without changes
View
0  en/api/req-xhr.jade → 3x/en/api/req-xhr.jade
File renamed without changes
View
0  en/api/req.jade → 3x/en/api/req.jade
File renamed without changes
View
0  en/api/res-attachment.jade → 3x/en/api/res-attachment.jade
File renamed without changes
View
0  en/api/res-charset.jade → 3x/en/api/res-charset.jade
File renamed without changes
View
0  en/api/res-clearCookie.jade → 3x/en/api/res-clearCookie.jade
File renamed without changes
View
0  en/api/res-cookie.jade → 3x/en/api/res-cookie.jade
File renamed without changes
View
0  en/api/res-download.jade → 3x/en/api/res-download.jade
File renamed without changes
View
0  en/api/res-format.jade → 3x/en/api/res-format.jade
File renamed without changes
View
0  en/api/res-get.jade → 3x/en/api/res-get.jade
File renamed without changes
View
0  en/api/res-json.jade → 3x/en/api/res-json.jade
File renamed without changes
View
0  en/api/res-jsonp.jade → 3x/en/api/res-jsonp.jade
File renamed without changes
View
0  en/api/res-links.jade → 3x/en/api/res-links.jade
File renamed without changes
View
0  en/api/res-locals.jade → 3x/en/api/res-locals.jade
File renamed without changes
View
0  en/api/res-location.jade → 3x/en/api/res-location.jade
File renamed without changes
View
0  en/api/res-redirect.jade → 3x/en/api/res-redirect.jade
File renamed without changes
View
0  en/api/res-render.jade → 3x/en/api/res-render.jade
File renamed without changes
View
0  en/api/res-send.jade → 3x/en/api/res-send.jade
File renamed without changes
View
0  en/api/res-sendfile.jade → 3x/en/api/res-sendfile.jade
File renamed without changes
View
0  en/api/res-set.jade → 3x/en/api/res-set.jade
File renamed without changes
View
0  en/api/res-status.jade → 3x/en/api/res-status.jade
File renamed without changes
View
0  en/api/res-type.jade → 3x/en/api/res-type.jade
File renamed without changes
View
0  en/api/res.jade → 3x/en/api/res.jade
File renamed without changes
View
5 Makefile
@@ -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:
View
38 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
View
2  applications.jade
@@ -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
View
2  community.jade
@@ -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
View
2  faq.jade
@@ -8,7 +8,7 @@ html
section#content
header
include includes/logo
- active = './faq.html'
+ active = '/faq.html'
include includes/menu
#faq
include en/faq
View
2  guide.jade
@@ -8,7 +8,7 @@ html
section#content
header
include includes/logo
- active = './guide.html'
+ active = '/guide.html'
include includes/menu
include includes/mixins
View
2  includes/footer.jade
@@ -10,7 +10,7 @@ script.
})();
a#top(href='#')
- img(src='images/arrow.png')
+ img(src='/images/arrow.png')
footer
#footer-content
View
8 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')
View
12 includes/menu.jade
@@ -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
View
2  index.jade
@@ -9,7 +9,7 @@ html
section#content
header
include includes/logo
- active = './'
+ active = '/'
include includes/menu
section#logos
.content
View
6 style.css
@@ -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;
@@ -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;
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.