docs(lang/latest): parameterize landing page Jade by language (#2389)
ng2.io preparatory work.
This commit is contained in:
parent
0c678c2355
commit
98efced068
|
@ -1,22 +1,4 @@
|
|||
.clearfix
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/quickstart.html")
|
||||
h2.text-headline.text-uppercase Quickstart
|
||||
p A short beginner guide explaining the basic concepts of Angular
|
||||
|
||||
footer View Quickstart
|
||||
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/guide/")
|
||||
h2.text-headline.text-uppercase Developer Guide
|
||||
p An intermediate development guide covering all major features of Angular
|
||||
|
||||
footer View Guide
|
||||
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/api/")
|
||||
h2.text-headline.text-uppercase API Reference
|
||||
p An advanced reference of all Angular Classes, Methods, etc.
|
||||
|
||||
footer View API
|
||||
|
||||
include ../../ts/latest/index
|
||||
|
||||
div.c12.l-space-top-3
|
||||
.alert.is-helpful.
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
p <a href="/docs/js/latest">Angular 2 JS - Latest Version</a>
|
||||
|
||||
|
||||
h3 Dart
|
||||
|
||||
p: <a href="/docs/dart/latest">Angular 2 Dart - Latest Version</a>
|
|
@ -1,67 +1 @@
|
|||
.clearfix
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/quickstart.html")
|
||||
h2.text-headline.text-uppercase Quickstart
|
||||
p A short beginner guide explaining the basic concepts of Angular
|
||||
|
||||
footer View Quickstart
|
||||
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/guide/")
|
||||
h2.text-headline.text-uppercase Developer Guide
|
||||
p An intermediate development guide covering all major features of Angular
|
||||
|
||||
footer View Guide
|
||||
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/api/")
|
||||
h2.text-headline.text-uppercase API Reference
|
||||
p An advanced reference of all Angular Classes, Methods, etc.
|
||||
|
||||
footer View API
|
||||
|
||||
|
||||
.c4.secondary-content-list
|
||||
h4 Advanced Documentation
|
||||
ul
|
||||
li
|
||||
a(href="/docs/js/latest/guide/ngmodule.html") Angular Modules
|
||||
li
|
||||
a(href="/docs/js/latest/guide/animations.html") Animations
|
||||
li
|
||||
a(href="/docs/js/latest/guide/attribute-directives.html") Attribute Directives
|
||||
li
|
||||
a(href="/docs/js/latest/guide/browser-support.html") Browser Support
|
||||
li
|
||||
a(href="/docs/js/latest/guide/component-styles.html") Component Styles
|
||||
li
|
||||
a(href="/docs/js/latest/guide/ngmodule.html") View All...
|
||||
|
||||
.c4.secondary-content-list
|
||||
h4 Cookbook
|
||||
ul
|
||||
li
|
||||
a(href="/docs/js/latest/cookbook/a1-a2-quick-reference.html") Angular 1 to Angular 2
|
||||
li
|
||||
a(href="/docs/js/latest/cookbook/ngmodule-faq.html") Angular Module FAQ
|
||||
li
|
||||
a(href="/docs/js/latest/cookbook/component-communication.html") Component Interaction
|
||||
li
|
||||
a(href="/docs/js/latest/cookbook/component-relative-paths.html") Component-Relative Paths
|
||||
li
|
||||
a(href="/docs/js/latest/cookbook/dependency-injection.html") Dependency Injection
|
||||
li
|
||||
a(href="/docs/js/latest/cookbook/") View All...
|
||||
|
||||
.c4.secondary-content-list
|
||||
h4 Tools & Libraries
|
||||
ul
|
||||
li
|
||||
a(target="_blank" href="https://github.com/angular/universal") Angular Universal
|
||||
li
|
||||
a(target="_blank" href="https://augury.angular.io/") Augury
|
||||
li
|
||||
a(target="_blank" href="https://github.com/jaxio/celerio-angular-quickstart") Celerio Angular Quickstart
|
||||
li
|
||||
a(target="_blank" href="https://github.com/mgechev/codelyzer") Codelyzer
|
||||
li
|
||||
a(target="_blank" href="https://github.com/johnpapa/lite-server") Lite-server
|
||||
li
|
||||
a(target="_blank" href="/resources/") View All...
|
||||
include ../../ts/latest/index
|
||||
|
|
|
@ -1,17 +1,20 @@
|
|||
- var lang = current.path[1]
|
||||
- var vers = current.path[2]
|
||||
|
||||
.clearfix
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/quickstart.html")
|
||||
a.card.c4(href="/docs/#{lang}/#{vers}/quickstart.html")
|
||||
h2.text-headline.text-uppercase Quickstart
|
||||
p A short beginner guide explaining the basic concepts of Angular
|
||||
|
||||
footer View Quickstart
|
||||
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/guide/")
|
||||
a.card.c4(href="/docs/#{lang}/#{vers}/guide/")
|
||||
h2.text-headline.text-uppercase Developer Guide
|
||||
p An intermediate development guide covering all major features of Angular
|
||||
|
||||
footer View Guide
|
||||
|
||||
a.card.c4(href="/docs/#{current.path[1]}/#{current.path[2]}/api/")
|
||||
a.card.c4(href="/docs/#{lang}/#{vers}/api/")
|
||||
h2.text-headline.text-uppercase API Reference
|
||||
p An advanced reference of all Angular Classes, Methods, etc.
|
||||
|
||||
|
@ -21,33 +24,33 @@
|
|||
h4 Advanced Documentation
|
||||
ul
|
||||
li
|
||||
a(href="/docs/ts/latest/guide/ngmodule.html") Angular Modules
|
||||
a(href="/docs/#{lang}/#{vers}/guide/ngmodule.html") Angular Modules
|
||||
li
|
||||
a(href="/docs/ts/latest/guide/animations.html") Animations
|
||||
a(href="/docs/#{lang}/#{vers}/guide/animations.html") Animations
|
||||
li
|
||||
a(href="/docs/ts/latest/guide/attribute-directives.html") Attribute Directives
|
||||
a(href="/docs/#{lang}/#{vers}/guide/attribute-directives.html") Attribute Directives
|
||||
li
|
||||
a(href="/docs/ts/latest/guide/browser-support.html") Browser Support
|
||||
a(href="/docs/#{lang}/#{vers}/guide/browser-support.html") Browser Support
|
||||
li
|
||||
a(href="/docs/ts/latest/guide/component-styles.html") Component Styles
|
||||
a(href="/docs/#{lang}/#{vers}/guide/component-styles.html") Component Styles
|
||||
li
|
||||
a(href="/docs/ts/latest/guide/ngmodule.html") View All...
|
||||
a(href="/docs/#{lang}/#{vers}/guide/ngmodule.html") View All...
|
||||
|
||||
.c4.secondary-content-list
|
||||
h4 Cookbook
|
||||
ul
|
||||
li
|
||||
a(href="/docs/ts/latest/cookbook/aot-compiler.html") Ahead-of-Time Compilation
|
||||
a(href="/docs/#{lang}/#{vers}/cookbook/aot-compiler.html") Ahead-of-Time Compilation
|
||||
li
|
||||
a(href="/docs/ts/latest/cookbook/a1-a2-quick-reference.html") Angular 1 to Angular 2
|
||||
a(href="/docs/#{lang}/#{vers}/cookbook/a1-a2-quick-reference.html") Angular 1 to Angular 2
|
||||
li
|
||||
a(href="/docs/ts/latest/cookbook/ngmodule-faq.html") Angular Module FAQ
|
||||
a(href="/docs/#{lang}/#{vers}/cookbook/ngmodule-faq.html") Angular Module FAQ
|
||||
li
|
||||
a(href="/docs/ts/latest/cookbook/component-communication.html") Component Interaction
|
||||
a(href="/docs/#{lang}/#{vers}/cookbook/component-communication.html") Component Interaction
|
||||
li
|
||||
a(href="/docs/ts/latest/cookbook/component-relative-paths.html") Component-Relative Paths
|
||||
a(href="/docs/#{lang}/#{vers}/cookbook/component-relative-paths.html") Component-Relative Paths
|
||||
li
|
||||
a(href="/docs/ts/latest/cookbook/") View All...
|
||||
a(href="/docs/#{lang}/#{vers}/cookbook/") View All...
|
||||
|
||||
.c4.secondary-content-list
|
||||
h4 Tools & Libraries
|
||||
|
|
Loading…
Reference in New Issue