Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit fb36e7c

Browse files
ittusegoist
authored andcommitted
docs: fix doctype (#224)
1 parent 71b0e24 commit fb36e7c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

website/docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Let's say you have following files in `./my-docs` folder:
3434
The `index.html` looks like:
3535

3636
```html {highlight:[7,'10-16']}
37-
<!DOCTYPE>
37+
<!DOCTYPE html>
3838
<html>
3939
<head>
4040
<meta charset="utf-8">
@@ -61,15 +61,15 @@ Then you can serve this folder as a static website on your machine using:
6161
- Golang: `caddy`
6262
- ..or whatever static web server
6363

64-
Next, you may want to use [sidebar](./options.md#sidebar), [nav](./options.md#nav) or other [options](./options.md) to customize the website.
64+
Next, you may want to use [sidebar](./options.md#sidebar), [nav](./options.md#nav) or other [options](./options.md) to customize the website.
6565

6666
Here's a [REPL](https://repl.it/@egoist/docute-starter) where you can try Docute online or [download](https://repl.it/@egoist/docute-starter.zip) it to run locally.
6767

6868
## Comparisons
6969

7070
### VuePress / GitBook / Hexo
7171

72-
They all generate static HTML at build time, which is good for SEO.
72+
They all generate static HTML at build time, which is good for SEO.
7373

7474
If you care about SEO, you may like using [presite](https://github.com/egoist/presite) to prerender your website.
7575

website/docs/guide/offline-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ workbox.routing.registerRoute(
3131
Then register this service worker in `index.html`:
3232

3333
```html {highlight:['16-18']}
34-
<!DOCTYPE >
34+
<!DOCTYPE html>
3535
<html>
3636
<head>
3737
<meta charset="utf-8" />

website/docs/zh/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Docute 本质上就是一个 JavaScript 文件,它可以获取 Markdown 文件
3434
`index.html` 看起来像这样:
3535

3636
```html {highlight:[7,'10-16']}
37-
<!DOCTYPE>
37+
<!DOCTYPE html>
3838
<html>
3939
<head>
4040
<meta charset="utf-8">

website/docs/zh/guide/offline-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ workbox.routing.registerRoute(
3131
Then register this service worker in `index.html`:
3232

3333
```html {highlight:['16-18']}
34-
<!DOCTYPE >
34+
<!DOCTYPE html>
3535
<html>
3636
<head>
3737
<meta charset="utf-8" />

0 commit comments

Comments
 (0)