Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): fix end of file consistency #4119

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/design/docker-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ Example ngConfig model for saved docker command state (per project):
isImageDeploy: true,
serviceName: 'ngapp'
}
}
}
}
}
```
Expand Down
5 changes: 2 additions & 3 deletions docs/design/ngConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ For example, assuming the following globals/locals:

```js
// Global
{
{
"key1": {
"key2": {
"value": 0,
Expand All @@ -100,7 +100,7 @@ For example, assuming the following globals/locals:
}

// Local
{
{
"key1": {
"key2": {
"value2": 2,
Expand Down Expand Up @@ -136,4 +136,3 @@ console.log(config.local.key1.key2.value4); // 99, the global value.

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

2 changes: 1 addition & 1 deletion docs/design/third-party-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The `install` task will perform the following subtasks:
1. **Detect if a package named `angular/cli-wrapper-${libName}` exist in the angular
organization.** If so, run the steps above as if ng install angular/angular-${libName}. If
this install fails, ignore the failure.

These packages can be used to wrap libraries that we want to support but can't update
easily, like Jasmine or LESS.
1. **Install typings.** See the [Typings](#typings) section.
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation/generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
- [interface](interface)
- [module](module)
- [pipe](pipe)
- [service](service)
- [service](service)
2 changes: 1 addition & 1 deletion docs/documentation/generate/class.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
`ng generate class [name]` generates a class

## Options
`--spec` specifies if a spec file is generated
`--spec` specifies if a spec file is generated
2 changes: 1 addition & 1 deletion docs/documentation/new.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Default applications are created in a directory of the same name, with an initia

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

`--inline-template` (`it`) flag to indicate if the app component should have an inline template
`--inline-template` (`it`) flag to indicate if the app component should have an inline template
2 changes: 1 addition & 1 deletion docs/documentation/stories/css-preprocessors.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Or set the default style on an existing project:

```bash
ng set defaults.styleExt scss
```
```
2 changes: 1 addition & 1 deletion docs/documentation/stories/global-lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Finally add the Bootstrap CSS to the `apps[0].styles` array:
```

Restart `ng serve` if you're running it, and Bootstrap 4 should be working on
your app.
your app.
12 changes: 6 additions & 6 deletions docs/documentation/stories/include-angular-material.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Include [Angular Material](https://material.angular.io)

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

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

Import the Angular Material NgModule into your app module...
```javascript
//in src/app/app.module.ts
//in src/app/app.module.ts

import { MaterialModule } from '@angular/material';
// other imports
// other imports

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

<button md-raised-button>
Angular Material works!
Angular Material works!
<md-icon>done</md-icon>
</button>
```

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

### More Info
### More Info

- [Getting Started](https://material.angular.io/guide/getting-started)
- [Theming Angular Material](https://material.angular.io/guide/theming)
- [Theming your own components](https://material.angular.io/guide/theming-your-components)
- [Theming your own components](https://material.angular.io/guide/theming-your-components)
8 changes: 4 additions & 4 deletions docs/documentation/stories/include-angularfire.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Include AngularFire

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

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

#### Configure the Environment

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

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

To initialize AngularFire add the following line to the `imports` array inside the `NgModule`:
To initialize AngularFire add the following line to the `imports` array inside the `NgModule`:

```typescript
@NgModule({
Expand All @@ -90,4 +90,4 @@ To initialize AngularFire add the following line to the `imports` array inside t
})
```

#### Congratulations, you can now use Firebase in your Angular app!
#### Congratulations, you can now use Firebase in your Angular app!
2 changes: 1 addition & 1 deletion docs/documentation/stories/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ and then we edit the `package.json` file's start script to be
"start": "ng serve --proxy-config proxy.conf.json",
```

now run it with `npm start`
now run it with `npm start`
2 changes: 1 addition & 1 deletion docs/documentation/stories/third-party-lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ manually adding typings for it:
typelessPackage.method();
```

Done. Note: you might need or find useful to define more typings for the library that you're trying to use.
Done. Note: you might need or find useful to define more typings for the library that you're trying to use.
2 changes: 1 addition & 1 deletion docs/documentation/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ You can run tests with coverage via `--code-coverage`. The coverage report will

`--reporters` list of reporters to use

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