Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(lang/latest): parameterize landing page Jade by language #2389

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions public/docs/dart/latest/index.jade
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 0 additions & 1 deletion public/docs/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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>
68 changes: 1 addition & 67 deletions public/docs/js/latest/index.jade
Original file line number Diff line number Diff line change
@@ -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
33 changes: 18 additions & 15 deletions public/docs/ts/latest/index.jade
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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
Expand Down