diff --git a/public/docs/dart/latest/index.jade b/public/docs/dart/latest/index.jade index 1781aa6eba..338a52da92 100644 --- a/public/docs/dart/latest/index.jade +++ b/public/docs/dart/latest/index.jade @@ -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. diff --git a/public/docs/index.jade b/public/docs/index.jade index 7b2e524ff8..61725df2c8 100644 --- a/public/docs/index.jade +++ b/public/docs/index.jade @@ -8,7 +8,6 @@ p Angular 2 JS - Latest Version - h3 Dart p: Angular 2 Dart - Latest Version \ No newline at end of file diff --git a/public/docs/js/latest/index.jade b/public/docs/js/latest/index.jade index 1f20647815..032f09c5ae 100644 --- a/public/docs/js/latest/index.jade +++ b/public/docs/js/latest/index.jade @@ -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 diff --git a/public/docs/ts/latest/index.jade b/public/docs/ts/latest/index.jade index 4389af05d5..aa1ffea3c4 100644 --- a/public/docs/ts/latest/index.jade +++ b/public/docs/ts/latest/index.jade @@ -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