Skip to content

Commit d22e9ae

Browse files
delastevefilipesilva
authored andcommitted
chore: fix documentation end of file consistency (angular#4119)
1 parent 8b3e300 commit d22e9ae

13 files changed

+22
-23
lines changed

docs/design/docker-deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Example ngConfig model for saved docker command state (per project):
290290
isImageDeploy: true,
291291
serviceName: 'ngapp'
292292
}
293-
}
293+
}
294294
}
295295
}
296296
```

docs/design/ngConfig.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ For example, assuming the following globals/locals:
9090

9191
```js
9292
// Global
93-
{
93+
{
9494
"key1": {
9595
"key2": {
9696
"value": 0,
@@ -100,7 +100,7 @@ For example, assuming the following globals/locals:
100100
}
101101

102102
// Local
103-
{
103+
{
104104
"key1": {
105105
"key2": {
106106
"value2": 2,
@@ -136,4 +136,3 @@ console.log(config.local.key1.key2.value4); // 99, the global value.
136136

137137
config.save(); // Commits if there's a change to global and/or local.
138138
```
139-

docs/design/third-party-libraries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The `install` task will perform the following subtasks:
7777
1. **Detect if a package named `angular/cli-wrapper-${libName}` exist in the angular
7878
organization.** If so, run the steps above as if ng install angular/angular-${libName}. If
7979
this install fails, ignore the failure.
80-
80+
8181
These packages can be used to wrap libraries that we want to support but can't update
8282
easily, like Jasmine or LESS.
8383
1. **Install typings.** See the [Typings](#typings) section.

docs/documentation/generate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
- [interface](interface)
1414
- [module](module)
1515
- [pipe](pipe)
16-
- [service](service)
16+
- [service](service)

docs/documentation/generate/class.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
`ng generate class [name]` generates a class
77

88
## Options
9-
`--spec` specifies if a spec file is generated
9+
`--spec` specifies if a spec file is generated

docs/documentation/new.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ Default applications are created in a directory of the same name, with an initia
2626

2727
`--inline-style` (`is`) flag to indicate if the app component should have an inline style
2828

29-
`--inline-template` (`it`) flag to indicate if the app component should have an inline template
29+
`--inline-template` (`it`) flag to indicate if the app component should have an inline template

docs/documentation/stories/css-preprocessors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Or set the default style on an existing project:
2929

3030
```bash
3131
ng set defaults.styleExt scss
32-
```
32+
```

docs/documentation/stories/global-lib.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ Finally add the Bootstrap CSS to the `apps[0].styles` array:
3232
```
3333

3434
Restart `ng serve` if you're running it, and Bootstrap 4 should be working on
35-
your app.
35+
your app.

docs/documentation/stories/include-angular-material.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Include [Angular Material](https://material.angular.io)
22

3-
[Angular Material](https://material.angular.io) is a set of Material Design components for Angular apps.
3+
[Angular Material](https://material.angular.io) is a set of Material Design components for Angular apps.
44
This guide will walk you through adding material design to your Angular CLI project and configuring it to use Angular Material.
55

66
Create a new project and navigate into the project...
@@ -16,10 +16,10 @@ npm install --save @angular/material
1616

1717
Import the Angular Material NgModule into your app module...
1818
```javascript
19-
//in src/app/app.module.ts
19+
//in src/app/app.module.ts
2020

2121
import { MaterialModule } from '@angular/material';
22-
// other imports
22+
// other imports
2323

2424
@NgModule({
2525
imports: [
@@ -49,15 +49,15 @@ To verify Angular Material has been set up correctly, change `src/app/app.compon
4949
</h1>
5050

5151
<button md-raised-button>
52-
Angular Material works!
52+
Angular Material works!
5353
<md-icon>done</md-icon>
5454
</button>
5555
```
5656

5757
After saving this file, return to the browser to see the Angular Material styled button.
5858

59-
### More Info
59+
### More Info
6060

6161
- [Getting Started](https://material.angular.io/guide/getting-started)
6262
- [Theming Angular Material](https://material.angular.io/guide/theming)
63-
- [Theming your own components](https://material.angular.io/guide/theming-your-components)
63+
- [Theming your own components](https://material.angular.io/guide/theming-your-components)

docs/documentation/stories/include-angularfire.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Include AngularFire
44

55
[Firebase](https://firebase.google.com/) is a mobile and web application platform with tools and infrastructure designed
6-
to help developers build high-quality apps. [AngularFire2](https://github.com/angular/angularfire2) is the official
6+
to help developers build high-quality apps. [AngularFire2](https://github.com/angular/angularfire2) is the official
77
Angular library to use Firebase in your apps.
88

99
#### Create new project
@@ -46,7 +46,7 @@ Firebase offers an easy way to get this, by showing a JavaScript object that you
4646

4747
#### Configure the Environment
4848

49-
These configuration details need to be stored in our app, one way to do this using the `environment`. This allows you to
49+
These configuration details need to be stored in our app, one way to do this using the `environment`. This allows you to
5050
use different credentials in development and production.
5151

5252
Open `src/environments/environment.ts` and add a key `firebase` to the exported constant:
@@ -76,7 +76,7 @@ import { AngularFireModule } from 'angularfire2';
7676
import { environment } from '../environments/environment';
7777
```
7878

79-
To initialize AngularFire add the following line to the `imports` array inside the `NgModule`:
79+
To initialize AngularFire add the following line to the `imports` array inside the `NgModule`:
8080

8181
```typescript
8282
@NgModule({
@@ -90,4 +90,4 @@ To initialize AngularFire add the following line to the `imports` array inside t
9090
})
9191
```
9292

93-
#### Congratulations, you can now use Firebase in your Angular app!
93+
#### Congratulations, you can now use Firebase in your Angular app!

docs/documentation/stories/proxy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ and then we edit the `package.json` file's start script to be
2525
"start": "ng serve --proxy-config proxy.conf.json",
2626
```
2727

28-
now run it with `npm start`
28+
now run it with `npm start`

docs/documentation/stories/third-party-lib.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ manually adding typings for it:
2727
typelessPackage.method();
2828
```
2929

30-
Done. Note: you might need or find useful to define more typings for the library that you're trying to use.
30+
Done. Note: you might need or find useful to define more typings for the library that you're trying to use.

docs/documentation/test.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ You can run tests with coverage via `--code-coverage`. The coverage report will
2828

2929
`--reporters` list of reporters to use
3030

31-
`--build` flag to build prior to running tests
31+
`--build` flag to build prior to running tests

0 commit comments

Comments
 (0)