Skip to content

Commit 25b33fa

Browse files
docs: fix typos (#319)
1 parent 3e93dec commit 25b33fa

File tree

8 files changed

+45
-45
lines changed

8 files changed

+45
-45
lines changed

docs/blog.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Scully w/ Blogs
1+
# Scully with Blogs
22

33
Scully is your best friend when you want to move your blog to Angular!
44

@@ -31,7 +31,7 @@ or
3131
ng g @scullyio/init:markdown --name="my text" --slug="my slug id"
3232
```
3333

34-
the following table shows all vailable options:
34+
the following table shows all available options:
3535

3636
| option | description | default |
3737
| -------------- | ------------------------------------------------------------------------------ | ------------------------ |
@@ -45,13 +45,13 @@ the following table shows all vailable options:
4545
4646
## Generating New Blog Posts
4747

48-
To add a new blog post, run the following command.
48+
To add a new blog post, run the following command:
4949

5050
```bash
5151
ng g @scullyio/init:post --name="This is my post"
5252
```
5353

54-
the following table shows all vailable options:
54+
the following table shows all available options:
5555

5656
| option | description | default |
5757
| -------------- | ------------------------------------------------------ | --------- |

docs/getting-started.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ UPDATE package.json (1507 bytes)
5757

5858
#### IMPORTANT: _Scully requires the router to be present in your application, don't forget to add it._
5959

60-
#### IMPORTANT: _Scully requires the distrubution files to be in a subfolder of `./dist`_
60+
#### IMPORTANT: _Scully requires the distribution files to be in a subfolder of `./dist`_
6161

62-
If you have an angular app, that outputs the distribution files directly into to root of `./dist` Scully can't copy all of the dist files. This is an OS file-system issue. We can't copy recursively into a subfolder of dist. The solution is set the option `architect->build->options->outputPath` to a subfolder.
62+
If you have an angular app, that outputs the distribution files directly into the root of `./dist` Scully can't copy all of the dist files. This is an OS file-system issue. We can't copy recursively into a subfolder of dist. The solution is to set the option `architect->build->options->outputPath` to a subfolder.
6363

6464
## ng g @scullyio/init:blog
6565

@@ -69,17 +69,17 @@ Once it's generated you can open the default `app.component.html` created by ang
6969

7070
### Home page
7171

72-
Since the default template from angular-cli doesn't ship an entry point for route, it might be confusing to get scully working on the very first shot
72+
Since the default template from angular-cli doesn't ship an entry point for route, it might be confusing to get Scully working on the very first shot.
7373

7474
```ts
7575
ng g m home --route=home --module=app-routing
7676
```
7777

78-
This command will generate the new home page module plus a new component with a route configured
78+
This command will generate the new home page module plus a new component with a route configured.
7979

8080
### Configure home as root
8181

82-
Open `app-routing.module.ts` and let the path attribute empty for the home route
82+
Open `app-routing.module.ts` and let the path attribute empty for the home route.
8383

8484
```ts
8585
const routes: Routes = [
@@ -93,7 +93,7 @@ const routes: Routes = [
9393

9494
### Inject route service
9595

96-
Scully provides a service to easy get access on generated routes. To list these in your template open `home.component.ts` by adding the following code
96+
Scully provides a service to easy get access on generated routes. To list these in your template open `home.component.ts` by adding the following code:
9797

9898
```ts
9999
import {ScullyRoutesService} from '@scullyio/ng-lib';
@@ -153,7 +153,7 @@ Now that your project has been pre-rendered, you can validate the build by eithe
153153

154154
By utilizing something like [http-server](https://www.npmjs.com/package/http-server) you can serve the contents of your
155155
`dist/static` folder. All of the routes in your non-pre-rendered Angular app should still work. Not all apps are
156-
capable of running without
156+
capable of running without.
157157

158158
[//]: # 'Missing text for the line above'
159159

docs/plugins.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The `registerPlugin` is the method created to add new plugins to scully. This me
2323

2424
### type: PluginTypes
2525

26-
`type` is a reference the to the type of plugin. It could be `render`, `router` or `fileHandler`.
26+
`type` is a reference to the type of plugin. It could be `render`, `router` or `fileHandler`.
2727

2828
### name: string
2929

@@ -44,7 +44,7 @@ The `registerPlugin` is the method created to add new plugins to scully. This me
4444
```typescript
4545
import {yellow} from '@scullyio/scully/utils/log';
4646

47-
// Omited code ...
47+
// Omitted code ...
4848

4949
const validator = async options => {
5050
const errors = [];
@@ -86,7 +86,7 @@ had 5 users with the IDs 1, 2, 3, 4, and 5, then Scully would need to render the
8686
/user/5
8787
```
8888

89-
A **router plugin** is used to convert the raw route config into a list of routes that scully can then crawl/render.
89+
A **router plugin** is used to convert the raw route config into a list of routes that Scully can then crawl/render.
9090

9191
## `HandledRoute` interface
9292

@@ -100,11 +100,11 @@ export interface HandledRoute {
100100
}
101101
```
102102

103-
The `HandledRoute` interface provide you properties to develop your own pluging.
103+
The `HandledRoute` interface provides you properties to develop your own plugin.
104104

105105
### route: string
106106

107-
`route` is a reference to the route to handled in you project.
107+
`route` is a reference to the route to handle in your project.
108108

109109
### type: RoutesTypes
110110

@@ -114,13 +114,13 @@ It should be to the type of the existing Route plugin.
114114

115115
### postRenderers?: string[]
116116

117-
`postRenderers` is a reference to plugins you want to be execute after scully's render process.
117+
`postRenderers` is a reference to plugins you want to be executed after Scully's render process.
118118

119119
### templateFile?: string
120120

121-
`templateFile` is a reference to name of the template to render the content.
121+
`templateFile` is a reference to the name of the template to render the content.
122122

123-
_\*\*\_Important_\*\*, It's not a reference to the angular template.\_
123+
**Important**, It's not a reference to the angular template.\_
124124

125125
### data?: RouteData
126126

docs/pre-requisites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Before you start building awesome sites with **Scully**, you will need to unders
66
- GIT
77
- Node.js
88

9-
Those 3 topics are very important to successfully start using Scully .
9+
Those 3 topics are very important to successfully start using Scully.
1010

1111
### Software tools needed to work with Scully are:
1212

docs/scully-cmd-line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Scully CLI has the following options available:
2323
npx scully serve
2424
```
2525

26-
this starts the scully server helper on its own. You can use this to inspect the result from Scully, or to speed up the scully proccess a bit. it does not _build_ the project, it only serves the angular build files, and the scully result files.
26+
This starts the scully server helper on its own. You can use this to inspect the result from Scully, or to speed up the scully proccess a bit. it does not _build_ the project, it only serves the angular build files, and the scully result files.
2727

2828
## showBrowser
2929

docs/scully-configuration.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Scully Configuration
22

3-
The center of every scully project is the file `scully.config.js`. This config file must export the configuration for your
3+
The center of every Scully project is the file `scully.config.js`. This config file must export the configuration for your
44
scully build.
55

6-
If you are starting to use scully we highly recommend read the [Getting Started](getting-started.md) section,
7-
also if you want to enhance you project made with scully, visit the [Utils](utils.md) section and see
8-
or teach to the community how to combine scully with others tools.
6+
If you are starting to use Scully we highly recommend read the [Getting Started](getting-started.md) section,
7+
also if you want to enhance your project made with Scully, visit the [Utils](utils.md) section and see
8+
or teach to the community how to combine Scully with others tools.
99

1010
- [Scully Configuration](#scully-configuration)
1111
- [`ScullyConfig` Interface](#scullyconfig-interface)
@@ -46,15 +46,15 @@ export interface ScullyConfig {
4646
}
4747
```
4848

49-
`ScullyConfig` interface provide the parameters to configure how scully works in your project.
49+
`ScullyConfig` interface provide the parameters to configure how Scully works in your project.
5050

5151
## scullyConfig properties explained
5252

5353
### projectRoot
5454

55-
`projectRoot` is reference to the path to the project where scully will intervene.
55+
`projectRoot` is reference to the path to the project where Scully will intervene.
5656

57-
This property is **_mandatory_**, scully fill automatically post installation,
57+
This property is **_mandatory_**, Scully fills automatically post installation,
5858

5959
**_IMPORTANT_** this property won't be **_mandatory_** anymore in future releases.
6060

@@ -65,7 +65,7 @@ This property is for internal use mostly, it defaults to the location where angu
6565

6666
### outDir
6767

68-
`outDir` is reference to the path folder which scully will take to put the statics files.
68+
`outDir` is reference to the path folder which Scully will take to put the statics files.
6969
By default the path is:
7070

7171
```
@@ -74,7 +74,7 @@ By default the path is:
7474

7575
### distFolder
7676

77-
`distFolder` option provide to scully the path to the compiled Angular application. By default scully take the path
77+
`distFolder` option provide to Scully the path to the compiled Angular application. By default Scully take the path
7878
reading the `angular.json`. You can set it up follow your needs.
7979

8080
### routes
@@ -102,9 +102,9 @@ handled routes reference to routes with dynamic data.
102102

103103
## proxyConfig
104104

105-
Takes a relative filename filename for a proxy config file. for details look at [this](https://github.com/chimurai/http-proxy-middleware/blob/master/README.md). We use the same config format as [webpackDevServer](https://webpack.js.org/configuration/dev-server/#devserverproxy)
105+
Takes a relative filename filename for a proxy config file. For details look at [this](https://github.com/chimurai/http-proxy-middleware/blob/master/README.md). We use the same config format as [webpackDevServer](https://webpack.js.org/configuration/dev-server/#devserverproxy).
106106

107-
`routes` is a reference to all unhandled routes which scully will transform to handled, using plugins.
107+
`routes` is a reference to all unhandled routes which Scully will transform to handled, using plugins.
108108
If you want to know more about plugins go to [Plugins](plugins.md) section.
109109

110110
### extraRoutes
@@ -120,14 +120,14 @@ extraRoutes: ['/foo/id', new Promise('/bar/barId'), new Promise(['/foo/fooId', '
120120

121121
### appPort
122122

123-
Scully provide you a server to check how your Angular app works.
123+
Scully provides you a server to check how your Angular app works.
124124
`appPort` is the property to configure the port which your Angular app will run.
125125

126126
The port by default is: `1864`
127127

128128
### staticport
129129

130-
Similarly as _appPort_, the property `staticport` allow the developer set up a port to execute a server,
130+
Similarly as _appPort_, the property `staticport` allows the developer to set up a port to execute a server,
131131
which will serve static files compiled by Scully.
132132

133133
The port by default is: `1668`
@@ -145,11 +145,11 @@ Follow [this link](https://pptr.dev/#?product=Puppeteer&version=v2.0.0&show=api-
145145

146146
### hostName
147147

148-
use a different name as `localhost` for the local server. Needed if doe to environmental restrictions localhost isn't usable
148+
Use a different name as `localhost` for the local server. Needed if doe to environmental restrictions localhost isn't usable
149149

150150
### hostUrl
151151

152-
Connect to a other server. If your app has special demands to host it, you might need to use your own server. When that is needed you can provide this setting to let scully know where to look for your running app. Make sure the server is up and running, and hosting the correct application.
152+
Connect to another server. If your app has special demands to host it, you might need to use your own server. When that is needed you can provide this setting to let Scully knows where to look for your running app. Make sure the server is up and running, and hosting the correct application.
153153

154154
### guessParserOptions
155155

docs/scully-lib-core.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## Idle Monitor
44

5-
Scully implements the `IdleMonitorService` to hook into Zonejs. When angular goes idle (**more precise, when all outgoing HTTP-requests are settled**)
6-
Scully trigger Puppeteer, and knows when it's ready to render.
5+
Scully implements the `IdleMonitorService` to hook into Zonejs. When Angular goes idle (**more precise, when all outgoing HTTP-requests are settled**)
6+
Scully triggers Puppeteer, and knows when it's ready to render.
77

88
Without this process, we have to resort to a (25 seconds) timeout. this is both slower and unprecise, some pages need even more time.
99

@@ -20,7 +20,7 @@ the routes rendered by Scully.
2020
- getCurrent()
2121
- reload()
2222

23-
The `ScullyRoutesService` use the `ScullyRoute` interface to set types.
23+
The `ScullyRoutesService` uses the `ScullyRoute` interface to set types.
2424

2525
```typescript
2626
export interface ScullyRoute {
@@ -47,15 +47,15 @@ export interface ScullyRoute {
4747

4848
#### getCurrent(): _Observable<ScullyRoute>_
4949

50-
`getCurrent()` method returns the current location
50+
`getCurrent()` method returns the current location.
5151

5252
#### reload(): _void_
5353

54-
`reload` method checks if new routes was added in the `scully-routes.json`.
54+
`reload` method checks if new routes were added in the `scully-routes.json`.
5555

5656
## Scully Content
5757

58-
Scully use the `scully-content` to insert the result of the render process into the HTML document.
58+
Scully uses the `scully-content` to insert the result of the render process into the HTML document.
5959

6060
The `scully-content` component won't work inside a `*ngIf` directive.
6161

docs/utils.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ Check out also the official [docs of prismjs](https://prismjs.com/)
102102

103103
### Do you want to colaborate with scully?
104104

105-
We would really love knows how are you combining scully with other tools.
106-
If you want to share your experiencie with the community please check our [CONTRIBUTING](../CONTRIBUTING.md) file,
107-
and don't forget sign the [CLA](https://cla-assistant.io/scullyio/scully).
105+
We would really love to know how you are combining Scully with other tools.
106+
If you want to share your experience with the community please check our [CONTRIBUTING](../CONTRIBUTING.md) file,
107+
and don't forget to sign the [CLA](https://cla-assistant.io/scullyio/scully).
108108

109109
---
110110

0 commit comments

Comments
 (0)