diff --git a/public/docs/dart/latest/api/_data.json b/public/docs/dart/latest/api/_data.json deleted file mode 100644 index 4b375156fc..0000000000 --- a/public/docs/dart/latest/api/_data.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "index" : { - "title" : "API 2.0 Preview" - } -} \ No newline at end of file diff --git a/public/docs/dart/latest/api/index.jade b/public/docs/dart/latest/api/index.jade deleted file mode 100644 index 6954ca79c5..0000000000 --- a/public/docs/dart/latest/api/index.jade +++ /dev/null @@ -1,13 +0,0 @@ -:marked - > **WARNING:** API documentation is preliminary and subject to change. - - > **Known issues:** Although this generated API reference displays Dart - APIs, individual pages sometimes describe TypeScript APIs accompanied with - TypeScript code. The angular.io issue tracker contains [all known - issues][api-issues]; if you notice others, please [report - them][new-issue]. Thanks! - - [new-issue]: https://github.com/angular/angular.io/issues/new?labels=dart,api&title=%5BDart%5D%5BAPI%5D%20 - [api-issues]: https://github.com/angular/angular.io/issues?q=label%3Aapi+label%3Adart - -api-list(src="api-list.json" lang="dart") diff --git a/public/docs/ts/latest/cheatsheet.jade b/public/docs/ts/latest/cheatsheet.jade index eec36cfb3f..2c5b14e48b 100644 --- a/public/docs/ts/latest/cheatsheet.jade +++ b/public/docs/ts/latest/cheatsheet.jade @@ -1,4 +1,4 @@ - var base = current.path[4] ? '.' : './guide'; .l-content-small.grid-fluid.docs-content.cheatsheet - ngio-cheatsheet(src= base + '/cheatsheet.json') + ngio-cheatsheet(src= base + '/cheatsheet-cn.json') diff --git a/public/docs/ts/latest/guide/cheatsheet-cn.json b/public/docs/ts/latest/guide/cheatsheet-cn.json index 0aa17f1132..457e41ffb9 100644 --- a/public/docs/ts/latest/guide/cheatsheet-cn.json +++ b/public/docs/ts/latest/guide/cheatsheet-cn.json @@ -1,28 +1,28 @@ { "currentEnvironment": "TypeScript", "version": { - "raw": "2.0.0-rc.5", + "raw": "2.0.0", "major": 2, "minor": 0, - "patch": 0, + "patch": 1, "prerelease": [ "local" ], - "build": "sha.8c6f6c1", - "version": "2.0.0-local", + "build": "sha.efc7326", + "version": "2.0.1-local", "codeName": "snapshot", "isSnapshot": true, - "full": "2.0.0-local+sha.8c6f6c1", + "full": "2.0.1-local+sha.efc7326", "branch": "master", - "commitSHA": "8c6f6c173da20113d467e57fd4ee5ab06d0a056b" + "commitSHA": "efc7326926b826dd33eeb43db391afd7c0b03ab8" }, "sections": [ { "name": "引导", - "description": "
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
\n\n
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
\n
import { NgModule } from '@angular/core';
\n
*
符号表示当前元素将被转变成一个内嵌模板。等价于:\n<template [myUnless]="myExpression"><p>...</p></template>
Card No.: {{cardNumber | myCreditCardNumberFormatter}}
", + "syntax": "Card No.: {{cardNumber | myCardNumberFormatter}}
", "bold": [ - "{{cardNumber | myCreditCardNumberFormatter}}" + "{{cardNumber | myCardNumberFormatter}}" ], - "description": "通过名叫myCreditCardNumberFormatter
的管道,转换表达式的当前值cardNumber
。
通过名叫myCardNumberFormatter
的管道,转换表达式的当前值cardNumber
。
Employer: {{employer?.companyName}}
", @@ -188,7 +188,7 @@ }, { "name": "内置指令", - "description": "import { CommonModule } from '@angular/common';
\n\n
import { CommonModule } from '@angular/common';
\n
import { FormsModule } from '@angular/forms';
\n\n
import { FormsModule } from '@angular/forms';
\n
import { Directive, ... } from '@angular/core';
\n\n
import { Directive, ... } from '@angular/core';
\n
@Directive({ property1: value1, ... })
\n\n
@Directive({ property1: value1, ... })
\n
import { Input, ... } from '@angular/core';
\n\n
import { Input, ... } from '@angular/core';
\n
import { Routes, RouterModule, ... } from '@angular/router';
\n\n
import { Routes, RouterModule, ... } from '@angular/router';
\n
The provided class(es) will be added to the element when the routerLink becomes the current active route.
\n" + "description": "当routerLink
被激活时,就把指定的CSS类添加到该元素上。
一个用来定义类的接口,路由器在导航后会首先调用它来决定是否应该取消该组件的激活状态。应该返回布尔值或能解析为布尔值的可观察对象(Observable)或承诺(Promise)。
\n" }, { - "syntax": "class CanActivateChildGuard implements CanActivateChild {\n canActivateChild(\n route: ActivatedRouteSnapshot,\n state: RouterStateSnapshot\n ): Observable一个用来定义类的接口,路由器会首先调用它来决定一个延迟加载的模块是否应该被加载。应该返回布尔值或能解析为布尔值的可观察对象(Observable)或承诺(Promise)。
\n" - }, - { - "syntax": "", - "bold": [], - "description": "\n" - }, - { - "syntax": "", - "bold": [], - "description": ".
\n" - }, - { - "syntax": "", - "bold": [], - "description": "\n" - }, - { - "syntax": "", - "bold": [], - "description": "\n" - }, - { - "syntax": "", - "bold": [], - "description": "\n" } ], "index": 11