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: docs/quickstart.md
+20-27Lines changed: 20 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ docsify serve docs
36
36
37
37
## Manual initialization
38
38
39
-
If you don't like `npm` or have trouble installing the tool, you can manually create `index.html`:
39
+
If you don't like `npm` or have trouble installing the tool, you can manually create `index.html` (the code below will load the latest version of docsify automatically. If you want a specific version to avoid any broken elements in the future, [see below](#specifying-docsify-versions)):
40
40
41
41
```html
42
42
<!-- index.html -->
@@ -61,33 +61,26 @@ If you don't like `npm` or have trouble installing the tool, you can manually cr
61
61
</html>
62
62
```
63
63
64
-
If you want to install a specific version of docsify, you can manually create `index.html`:
64
+
### Specifying docsify versions
65
+
66
+
?> Note that in both of the examples below, docsify URLs will need to be manually updated when a new major version of docsify is released (e.g. `v4.x.x` => `v5.x.x`). Check the docsify website periodically to see if a new major version has been released.
67
+
68
+
Specifying a major version in the URL (`@4`) will allow your site will receive non-breaking enhancements (i.e. "minor" updates) and bug fixes (i.e. "patch" updates) automatically. This is the recommended way to load docsify resources.
If you prefer to lock docsify to a specific version, specify the full version after the `@` symbol in the URL. This is the safest way to ensure your site will look and behave the same way regardless of any changes made to future versions of docsify.
0 commit comments