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

Commit 0dfda08

Browse files
chalinkwalrath
authored andcommitted
docs: in links use href=foo#bar not foo#!#bar (#2807)
1 parent 64bce18 commit 0dfda08

17 files changed

+22
-22
lines changed

public/docs/dart/latest/guide/component-styles.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ block module-id
3131
:marked
3232
Note that special measures must be taken in Angular2 for TypeScript, if
3333
relative URLs are to have the same interpretation. See
34-
[here](../../../ts/latest/guide/component-styles.html#!#relative-urls)
34+
[here](../../../ts/latest/guide/component-styles.html#relative-urls)
3535
for details.
3636

public/docs/dart/latest/tutorial/toh-pt3.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ code-example(language="bash").
6363
All of our component names end in "Component". All of our component file names end in "_component".
6464

6565
We spell our filenames in lower **underscore case**
66-
(AKA **[snake_case](../guide/glossary.html#!#snake_case)**) so we don't worry about
66+
(AKA **[snake_case](../guide/glossary.html#snake_case)**) so we don't worry about
6767
case sensitivity on the server or in source control.
6868

6969
<!-- TODO

public/docs/dart/latest/tutorial/toh-pt4.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ code-example(language="bash").
6767
.l-sub-section
6868
:marked
6969
We've adopted a convention in which we spell the name of a service in lowercase followed by `_service`.
70-
If the service name were multi-word, we'd spell the base filename in lower underscore case (also called [snake_case](../guide/glossary.html#!#snake_case)).
70+
If the service name were multi-word, we'd spell the base filename in lower underscore case (also called [snake_case](../guide/glossary.html#snake_case)).
7171
The `SpecialSuperHeroService` would be defined in the `special_super_hero_service.dart` file.
7272
:marked
7373
We name the class `HeroService`.

public/docs/dart/latest/tutorial/toh-pt6.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ block http-library
3636

3737
Update `pubspec.yaml` to look like this (additions are highlighted):
3838

39-
[guide-http]: ../guide/server-communication.html#!#http-providers
39+
[guide-http]: ../guide/server-communication.html#http-providers
4040
[ng2x]: https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer
4141

4242
- var stylePattern = { pnk: /(http.*|stream.*|resolved_identifiers:|Browser.*|Client.*)/gm };

public/docs/ts/_cache/quickstart.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ code-example(language="sh" class="code-shell").
111111
h3#add-config-files (b) Add #{_package_and_config_files}
112112
block package-and-config-files
113113
- var _tsconfigUri = 'guide/typescript-configuration.html#tsconfig'
114-
- var _typingsUri = 'guide/typescript-configuration.html#!#typings'
114+
- var _typingsUri = 'guide/typescript-configuration.html#typings'
115115

116116
p Add the following package definition and configuration files to the project folder:
117117
ul

public/docs/ts/_cache/tutorial/toh-pt5.jade

+3-3
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ block angular-router
181181
.callout.is-important
182182
header base href is essential
183183
:marked
184-
See the *base href* section of the [Router](../guide/router.html#!#base-href)
184+
See the *base href* section of the [Router](../guide/router.html#base-href)
185185
chapter to learn why this matters.
186186

187187
a#configure-routes
@@ -334,7 +334,7 @@ block redirect-vs-use-as-default
334334

335335
.l-sub-section
336336
:marked
337-
Learn about the *redirects* in the [Routing](../guide/router.html#!#redirect) chapter.
337+
Learn about the *redirects* in the [Routing](../guide/router.html#redirect) chapter.
338338

339339
:marked
340340
#### Add navigation to the template
@@ -872,7 +872,7 @@ block css-files
872872
Our designers provided some basic styles to apply to elements across the entire app.
873873
These correspond to the full set of master styles that we
874874
introduced earlier (see
875-
[QuickStart, "Add some style"](../quickstart.html#!#add-some-style)).
875+
[QuickStart, "Add some style"](../quickstart.html#add-some-style)).
876876
Here is an excerpt:
877877

878878
+makeExcerpt('styles.css (excerpt)', 'toh')

public/docs/ts/_cache/tutorial/toh-pt6.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ block dont-be-distracted-by-backend-subst
112112
This chapter is an introduction to the !{_Angular_http_library}.
113113
Please don't be distracted by the details of this backend substitution. Just follow along with the example.
114114

115-
Learn more later about the in-memory web API in the [HTTP client chapter](../guide/server-communication.html#!#in-mem-web-api).
115+
Learn more later about the in-memory web API in the [HTTP client chapter](../guide/server-communication.html#in-mem-web-api).
116116
Remember, the in-memory web API is only useful in the early stages of development and for demonstrations such as this Tour of Heroes.
117117
Skip it when you have a real web API server.
118118

public/docs/ts/latest/cookbook/ts-to-js.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ a#modularity
7777

7878
In both _TypeScript_ and _ES6_, you import Angular classes, functions, and other members with _ES6_ `import` statements.
7979

80-
In _ES5_, you access the Angular entities of the [the Angular packages](../glossary.html#!#scoped-package)
80+
In _ES5_, you access the Angular entities of the [the Angular packages](../glossary.html#scoped-package)
8181
through the global `ng` object.
8282
Anything you can import from `@angular` is a nested member of this `ng` object:
8383

public/docs/ts/latest/guide/dependency-injection.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ block ctor-syntax
283283

284284
.l-sub-section
285285
:marked
286-
Read also **Should I add app-wide providers to the root `AppModule` or the root `AppComponent`?** in the [NgModule FAQ](../cookbook/ngmodule-faq.html#!#q-root-component-or-module) chapter.
286+
Read also **Should I add app-wide providers to the root `AppModule` or the root `AppComponent`?** in the [NgModule FAQ](../cookbook/ngmodule-faq.html#root-component-or-module) chapter.
287287

288288
:marked
289289
### Preparing the HeroListComponent for injection

public/docs/ts/latest/guide/npm-packages.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ a(id="dependencies")
7474
***@angular/platform-browser*** - Everything DOM and browser related, especially the pieces that help render into DOM.
7575
This package also includes the bootstrapStatic method for bootstrapping applications for production builds that pre-compile templates offline.
7676

77-
***@angular/platform-browser-dynamic*** - Includes [Providers](../api/core/index/Provider-type-alias.html) and a [bootstrap](ngmodule.html#!#bootstrap) method for applications that
77+
***@angular/platform-browser-dynamic*** - Includes [Providers](../api/core/index/Provider-type-alias.html) and a [bootstrap](ngmodule.html#bootstrap) method for applications that
7878
compile templates on the client. Don’t use offline compilation.
7979
Use this package for bootstrapping during development and for bootstrapping plunker samples.
8080

public/docs/ts/latest/guide/router.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ h3#router-directives <i>Router Directives</i>
583583
* separates our routing concerns from our feature module
584584
* provides a module to replace or remove when testing our feature module
585585
* provides a common place for require routing service providers including guards and resolvers
586-
* is **not** concerned with feature [module declarations](../cookbook/ngmodule-faq.html#!#routing-module)
586+
* is **not** concerned with feature [module declarations](../cookbook/ngmodule-faq.html#routing-module)
587587

588588
:marked
589589
### Refactor routing into a module

public/docs/ts/latest/guide/style-guide.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@ a(href="#toc") Back to top
18211821

18221822
.s-why.s-why-last
18231823
:marked
1824-
**Why?** Angular allows for an [alternative syntax](template-syntax.html#!#binding-syntax) `on-*`. If the event itself was prefixed with `on` this would result in an `on-onEvent` binding expression.
1824+
**Why?** Angular allows for an [alternative syntax](template-syntax.html#binding-syntax) `on-*`. If the event itself was prefixed with `on` this would result in an `on-onEvent` binding expression.
18251825

18261826
+makeExample('style-guide/ts/05-16/app/heroes/hero.component.avoid.ts', 'example', 'app/heroes/hero.component.ts')(avoid=1)
18271827
:marked

public/docs/ts/latest/guide/upgrade.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ figure
721721
+makeExample('upgrade-module/ts/app/1-to-2-providers/heroes.service.ts', null, 'heroes.service.ts')
722722

723723
:marked
724-
We can upgrade the service using a Angular 2 [Factory provider](../guide/dependency-injection.html#!#factory-providers)
724+
We can upgrade the service using a Angular 2 [Factory provider](../guide/dependency-injection.html#factory-providers)
725725
that requests the service from the Angular 1 `$injector`. The name of the Angular 2 dependency is up to you:
726726

727727
+makeExample('upgrade-module/ts/app/1-to-2-providers/app.module.ts', 'register', 'app.module.ts')

public/docs/ts/latest/tutorial/toh-pt3.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ code-example(language="bash").
6464

6565
All of our component names end in "Component". All of our component file names end in ".component".
6666

67-
We spell our file names in lower **[dash case](../guide/glossary.html#!#dash-case)**
68-
(AKA **[kebab-case](../guide/glossary.html#!#kebab-case)**) so we don't worry about
67+
We spell our file names in lower **[dash case](../guide/glossary.html#dash-case)**
68+
(AKA **[kebab-case](../guide/glossary.html#kebab-case)**) so we don't worry about
6969
case sensitivity on the server or in source control.
7070

7171
<!-- TODO

public/docs/ts/latest/tutorial/toh-pt4.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ code-example(language="bash").
7070
.l-sub-section
7171
:marked
7272
We've adopted a convention in which we spell the name of a service in lowercase followed by `.service`.
73-
If the service name were multi-word, we'd spell the base filename in lower [dash-case](../guide/glossary.html#!#dash-case).
73+
If the service name were multi-word, we'd spell the base filename in lower [dash-case](../guide/glossary.html#dash-case).
7474
The `SpecialSuperHeroService` would be defined in the `special-super-hero.service.ts` file.
7575
:marked
7676
We name the class `HeroService` and export it for others to import.

public/docs/ts/latest/tutorial/toh-pt5.jade

+3-3
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ block angular-router
181181
.callout.is-important
182182
header base href is essential
183183
:marked
184-
See the *base href* section of the [Router](../guide/router.html#!#base-href)
184+
See the *base href* section of the [Router](../guide/router.html#base-href)
185185
chapter to learn why this matters.
186186

187187
a#configure-routes
@@ -334,7 +334,7 @@ block redirect-vs-use-as-default
334334

335335
.l-sub-section
336336
:marked
337-
Learn about the *redirects* in the [Routing](../guide/router.html#!#redirect) chapter.
337+
Learn about the *redirects* in the [Routing](../guide/router.html#redirect) chapter.
338338

339339
:marked
340340
#### Add navigation to the template
@@ -889,7 +889,7 @@ block css-files
889889
Our designers provided some basic styles to apply to elements across the entire app.
890890
These correspond to the full set of master styles that we
891891
introduced earlier (see
892-
[QuickStart, "Add some style"](../quickstart.html#!#add-some-style)).
892+
[QuickStart, "Add some style"](../quickstart.html#add-some-style)).
893893
Here is an excerpt:
894894

895895
+makeExcerpt('styles.css (excerpt)', 'toh')

public/docs/ts/latest/tutorial/toh-pt6.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ block dont-be-distracted-by-backend-subst
112112
This chapter is an introduction to the !{_Angular_http_library}.
113113
Please don't be distracted by the details of this backend substitution. Just follow along with the example.
114114

115-
Learn more later about the in-memory web API in the [HTTP client chapter](../guide/server-communication.html#!#in-mem-web-api).
115+
Learn more later about the in-memory web API in the [HTTP client chapter](../guide/server-communication.html#in-mem-web-api).
116116
Remember, the in-memory web API is only useful in the early stages of development and for demonstrations such as this Tour of Heroes.
117117
Skip it when you have a real web API server.
118118

0 commit comments

Comments
 (0)