You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guide/hosting.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,9 @@ download: true
31
31
---
32
32
```
33
33
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.
35
35
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.
37
37
38
38
```md
39
39
---
@@ -52,7 +52,7 @@ For more, check out [Showcases](/showcases).
52
52
53
53
## Hosting
54
54
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.
56
56
57
57
### Netlify
58
58
@@ -74,7 +74,7 @@ Create `netlify.toml` in your project root with the following content.
74
74
status=200
75
75
```
76
76
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.
78
78
79
79
### Vercel
80
80
@@ -90,15 +90,15 @@ Create `vercel.json` in your project root with the following content.
90
90
}
91
91
```
92
92
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.
- 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`.
102
102
103
103
```yaml
104
104
name: Deploy pages
@@ -124,5 +124,5 @@ jobs:
124
124
env:
125
125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126
126
```
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