Skip to content

Commit a9706e0

Browse files
author
Leon Si
authored
docs: fix typos and tweak grammar (#94)
1 parent f3e4a95 commit a9706e0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

guide/hosting.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ download: true
3131
---
3232
```
3333

34-
Slidev will generate a pdf file along with the build, and a download button will be displayed in the SPA.
34+
Slidev will generate a PDF file along with the build, and a download button will be displayed in the SPA.
3535

36-
You can also provide a custom url to the PDF. In that case, the rendering process will be skipped.
36+
You can also provide a custom URL for the PDF. In that case, the rendering process will be skipped.
3737

3838
```md
3939
---
@@ -52,7 +52,7 @@ For more, check out [Showcases](/showcases).
5252

5353
## Hosting
5454

55-
We recommend to use `npm init slidev@lastest` to scaffolding your project, which contains the necessary configuration files for hosting services out-of-box.
55+
We recommend to use `npm init slidev@latest` to scaffold your project, which contains the necessary configuration files for hosting services out-of-the-box.
5656

5757
### Netlify
5858

@@ -74,7 +74,7 @@ Create `netlify.toml` in your project root with the following content.
7474
status = 200
7575
```
7676

77-
Then go to your Netlify dashboard, create new site with the repository.
77+
Then go to your Netlify dashboard and create a new site with the repository.
7878

7979
### Vercel
8080

@@ -90,15 +90,15 @@ Create `vercel.json` in your project root with the following content.
9090
}
9191
```
9292

93-
Then go to your Vercel dashboard, create new site with the repository.
93+
Then go to your Vercel dashboard and create a new site with the repository.
9494

9595
## GitHub Pages
9696

9797
- [GitHub Pages](https://pages.github.com./)
9898

9999
To deploy your slides on GitHub Pages:
100100
- upload all the files of the project in your repo (i.e. named `name_of_repo`)
101-
- create `.github/workflows/deploy.yml` with following content to deploy your slides to GitHub Pages via GitHub Actions. In this file, replace `<name_of_repo>`with `name_of_repo`.
101+
- create `.github/workflows/deploy.yml` with following content to deploy your slides to GitHub Pages via GitHub Actions. In this file, replace `<name_of_repo>` with `name_of_repo`.
102102

103103
```yaml
104104
name: Deploy pages
@@ -124,5 +124,5 @@ jobs:
124124
env:
125125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126126
```
127-
- In your repository, go to Setting>Pages. Under "Build and deployment", select "Deploy from a branch", select "gh- pages" and "root". Click on save.
128-
- Finally, after all workflows is executed, a link to the slides should appear under Setting>Pages.
127+
- In your repository, go to Settings>Pages. Under "Build and deployment", select "Deploy from a branch", select "gh-pages" and "root". Click on save.
128+
- Finally, after all workflows are executed, a link to the slides should appear under Settings>Pages.

0 commit comments

Comments
 (0)