Skip to content

Commit 9a15ffb

Browse files
docs: Improve Quick start instructions (#1458)
* docs: Improve Quick start instructions - Slightly tweak Python server instructions to be more generic - Clarify the section about customizing the main container * Update quickstart.md Co-authored-by: 沈唁 <52o@qq52o.cn>
1 parent 7580dc4 commit 9a15ffb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/quickstart.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ If you prefer to lock docsify to a specific version, specify the full version af
8181

8282
### Manually preview your site
8383

84-
If you installed python on your system, you can easily use it to run a static server to preview your site.
84+
If you have Python installed on your system, you can easily use it to run a static server to preview your site.
8585

8686
```bash
8787
cd docs && python -m SimpleHTTPServer 3000
@@ -97,7 +97,7 @@ If you want, you can show a loading dialog before docsify starts to render your
9797
<div id="app">Please wait...</div>
9898
```
9999

100-
You should set the `data-app` attribute if you changed `el`:
100+
By default, the `id` attribute of the main container is `app`. If you want to use a different id, you must also set the `data-app` attribute, and [configure](configuration.md#el) the `el` parameter accordingly:
101101

102102
```html
103103
<!-- index.html -->
@@ -110,5 +110,3 @@ You should set the `data-app` attribute if you changed `el`:
110110
}
111111
</script>
112112
```
113-
114-
Compare [el configuration](configuration.md#el).

0 commit comments

Comments
 (0)