angular-docs-cn/aio
Pete Bacon Darwin eac99c1b16 build(aio): do not HTML format code-example contents (#15554)
The markdown renderer passes its output through an HTML pretty printer.
While this is good in most cases, it makes a mess of elements that expect
their content to be left untouched.

The pretty printer already ignores `pre` tags (and other built-ins) by
default. This fix allows us to specify other tags that should be left
alone.

Further it actually specifies this option for `code-example` and `code-pane`
tags, which expect to contain preformatted content.
2017-03-28 08:22:44 -07:00
..
aio-builds-setup build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
content build(aio): do not HTML format code-example contents (#15554) 2017-03-28 08:22:44 -07:00
e2e test(aio): the tutorial link no longer ends with a slash 2017-03-28 10:21:46 +01:00
scripts revert: build(aio): implement prerendering (#15346) 2017-03-21 19:05:36 -05:00
src feat(aio): show top-nav with same styling as side-nav when window is narrow 2017-03-28 11:48:28 +01:00
transforms build(aio): do not HTML format code-example contents (#15554) 2017-03-28 08:22:44 -07:00
.angular-cli.json build(aio): fix angular-cli config typo 2017-03-28 10:49:52 +01:00
.firebaserc build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
.gitignore build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
README.md build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
database.rules.json build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
firebase.json fix(aio): do not fallback to `index.html` for file requests (#15401) 2017-03-22 15:31:47 -07:00
karma.conf.js build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
ngsw-manifest.json feat(aio): support @angular/service-worker using the CLI generated service worker manifest (#15042) 2017-03-10 14:05:29 -08:00
package.json build(aio): do not HTML format code-example contents (#15554) 2017-03-28 08:22:44 -07:00
protractor.conf.js build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
tsconfig.json build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
tslint.json build(aio): upgrade to CLI beta.32 and MD beta.2 2017-02-22 17:53:56 -08:00
yarn.lock build(aio): do not HTML format code-example contents (#15554) 2017-03-28 08:22:44 -07:00

README.md

Site

This project was generated with angular-cli version 1.0.0-beta.26.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Deploying to GitHub Pages

Run ng github-pages:deploy to deploy to GitHub Pages.

Further help

To get more help on the angular-cli use ng help or go check out the Angular-CLI README.