docs(chore): make styles consistent for API doc headings

Closes #4816
This commit is contained in:
Naomi Black
2015-10-19 15:37:32 +01:00
committed by Naomi Black
parent 2c98a0f771
commit be3e7db5db
58 changed files with 131 additions and 131 deletions

View File

@ -12,7 +12,7 @@ import {EventListener, History, Location} from 'angular2/src/core/facade/browser
* For instance, if you call `location.go('/foo')`, the browser's URL will become
* `example.com#/foo`.
*
* ## Example
* ### Example
*
* ```
* import {Component, View} from 'angular2/angular2';

View File

@ -12,7 +12,7 @@ import {Url} from './url_parser';
*
* You can inject `RouteParams` into the constructor of a component to use it.
*
* ## Example
* ### Example
*
* ```
* import {bootstrap, Component} from 'angular2/angular2';
@ -48,7 +48,7 @@ export class RouteParams {
* `Instruction`s can be created using {@link Router#generate}, and can be used to
* perform route changes with {@link Router#navigateByInstruction}.
*
* ## Example
* ### Example
*
* ```
* import {bootstrap, Component} from 'angular2/angular2';

View File

@ -21,7 +21,7 @@ var __ignore_me = global;
* If `onActivate` returns a promise, the route change will wait until the promise settles to
* instantiate and activate child components.
*
* ## Example
* ### Example
* ```
* import {Component} from 'angular2/angular2';
* import {OnActivate, ComponentInstruction} from 'angular2/router';
@ -52,7 +52,7 @@ export interface OnActivate {
* representing the current route being navigated to, and the second parameter representing the
* previous route or `null`.
*
* ## Example
* ### Example
* ```
* import {Component} from 'angular2/angular2';
* import {CanReuse, OnReuse, ComponentInstruction} from 'angular2/router';
@ -86,7 +86,7 @@ export interface OnReuse {
*
* If `onDeactivate` returns a promise, the route change will wait until the promise settles.
*
* ## Example
* ### Example
* ```
* import {Component} from 'angular2/angular2';
* import {OnDeactivate, ComponentInstruction} from 'angular2/router';
@ -121,7 +121,7 @@ export interface OnDeactivate {
*
* If `canReuse` throws or rejects, the navigation will be cancelled.
*
* ## Example
* ### Example
* ```
* import {Component} from 'angular2/angular2';
* import {CanReuse, OnReuse, ComponentInstruction} from 'angular2/router';
@ -159,7 +159,7 @@ export interface CanReuse {
*
* If `canDeactivate` throws or rejects, the navigation is also cancelled.
*
* ## Example
* ### Example
* ```
* import {Component} from 'angular2/angular2';
* import {CanDeactivate, ComponentInstruction} from 'angular2/router';

View File

@ -33,7 +33,7 @@ export {
* If `CanActivate` returns or resolves to `true`, navigation continues, the component is
* instantiated, and the {@link OnActivate} hook of that component is called if implemented.
*
* ## Example
* ### Example
* ```
* import {Component} from 'angular2/angular2';
* import {CanActivate} from 'angular2/router';

View File

@ -13,7 +13,7 @@ import {OpaqueToken, Injectable, Optional, Inject} from 'angular2/angular2';
* representing the URL prefix that should be preserved when generating and recognizing
* URLs.
*
* ## Example
* ### Example
*
* ```
* import {Component} from 'angular2/angular2';
@ -52,7 +52,7 @@ export const APP_BASE_HREF: OpaqueToken = CONST_EXPR(new OpaqueToken('appBaseHre
* - `my/app/user/123` **is not** normalized
* - `/my/app/user/123/` **is not** normalized
*
* ## Example
* ### Example
*
* ```
* import {Component} from 'angular2/angular2';

View File

@ -20,7 +20,7 @@ import {LocationStrategy, normalizeQueryParams} from './location_strategy';
* `location.go('/foo')`, the browser's URL will become
* `example.com/my/app/foo`.
*
* ## Example
* ### Example
*
* ```
* import {Component, provide} from 'angular2/angular2';

View File

@ -22,7 +22,7 @@ export class RouteConfig {
* - `data` is an optional property of any type representing arbitrary route metadata for the given
* route. It is injectable via the {@link ROUTE_DATA} token.
*
* ## Example
* ### Example
* ```
* import {RouteConfig} from 'angular2/router';
*
@ -62,7 +62,7 @@ export class Route implements RouteDefinition {
* - `data` is an optional property of any type representing arbitrary route metadata for the given
* route. It is injectable via the {@link ROUTE_DATA} token.
*
* ## Example
* ### Example
* ```
* import {RouteConfig, AuxRoute} from 'angular2/router';
*
@ -99,7 +99,7 @@ export class AuxRoute implements RouteDefinition {
* - `data` is an optional property of any type representing arbitrary route metadata for the given
* route. It is injectable via the {@link ROUTE_DATA} token.
*
* ## Example
* ### Example
* ```
* import {RouteConfig} from 'angular2/router';
*
@ -131,7 +131,7 @@ export class AsyncRoute implements RouteDefinition {
* - `path` is a string that uses the route matcher DSL.
* - `redirectTo` is a string representing the new URL to be matched against.
*
* ## Example
* ### Example
* ```
* import {RouteConfig} from 'angular2/router';
*

View File

@ -141,7 +141,7 @@ export class Router {
/**
* Dynamically update the routing configuration and trigger a navigation.
*
* # Usage
*##Usage
*
* ```
* router.config([
@ -160,7 +160,7 @@ export class Router {
* Navigate based on the provided Route Link DSL. It's preferred to navigate with this method
* over `navigateByUrl`.
*
* # Usage
*##Usage
*
* This method takes an array representing the Route Link DSL:
* ```