Skip to content

Commit

Permalink
docs(ssr): update sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed May 30, 2017
1 parent 4b83824 commit 490c8a1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
- [Vue compatibility](vue.md)
- [CDN](cdn.md)
- [Offline Mode(PWA)](pwa.md)
- [(Server-client renderer(SSR)](ssr.md)
- [Server-client renderer(SSR)](ssr.md)

- [Changelog](changelog.md)
10 changes: 5 additions & 5 deletions docs/de-de/ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ See https://docsify.now.sh

## Quick start

1. Install `now` and `docsify-cli` in your project.
Install `now` and `docsify-cli` in your project.

```bash
npm i now -g
npm i docsify-cli -D
```

2. Edit `package.json`. If the documentation in `./docs` subdirectory.
Edit `package.json`. If the documentation in `./docs` subdirectory.

```json
{
Expand All @@ -38,20 +38,20 @@ npm i docsify-cli -D
}
```

3. Remove `index.html`
Remove `index.html`


!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.

4. We can preview in the local to see if it works.
We can preview in the local to see if it works.

```bash
npm start

# open http://localhost:4000
```

5. Publish it!
Publish it!

```bash
now -p
Expand Down
10 changes: 5 additions & 5 deletions docs/ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ See https://docsify.now.sh

## Quick start

1. Install `now` and `docsify-cli` in your project.
Install `now` and `docsify-cli` in your project.

```bash
npm i now -g
npm i docsify-cli -D
```

2. Edit `package.json`. If the documentation in `./docs` subdirectory.
Edit `package.json`. If the documentation in `./docs` subdirectory.

```json
{
Expand All @@ -38,19 +38,19 @@ npm i docsify-cli -D
}
```

3. Remove `index.html`
Remove `index.html`

!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.

4. We can preview in the local to see if it works.
We can preview in the local to see if it works.

```bash
npm start

# open http://localhost:4000
```

5. Publish it!
Publish it!

```bash
now -p
Expand Down
8 changes: 4 additions & 4 deletions docs/zh-cn/ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ See https://docsify.now.sh

## Quick start

1. Install `now` and `docsify-cli` in your project.
Install `now` and `docsify-cli` in your project.

```bash
npm i now -g
Expand Down Expand Up @@ -39,19 +39,19 @@ npm i docsify-cli -D
```


3. Remove `index.html`
Remove `index.html`

!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.

4. We can preview in the local to see if it works.
We can preview in the local to see if it works.

```bash
npm start

# open http://localhost:4000
```

5. Publish it!
Publish it!

```bash
now -p
Expand Down

0 comments on commit 490c8a1

Please sign in to comment.