File tree 1 file changed +18
-2
lines changed 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Use `init` to generate your docs.
52
52
``` shell
53
53
docsify init < path> [--local false] [--theme vue]
54
54
55
- # docsify i <path> [--local false] [--theme vue]
55
+ # docsify i <path> [-l false] [-t vue]
56
56
```
57
57
58
58
` <path> ` defaults to the current directory. Use relative paths like ` ./docs ` (or ` docs ` ).
@@ -75,7 +75,7 @@ Run a server on `localhost` with livereload.
75
75
``` shell
76
76
docsify serve < path> [--open false] [--port 3000]
77
77
78
- # docsify s <path> [--open false] [--port 3000]
78
+ # docsify s <path> [-o false] [-p 3000]
79
79
```
80
80
81
81
- ` --open ` option:
@@ -89,6 +89,22 @@ docsify serve <path> [--open false] [--port 3000]
89
89
- Default: ` 3000 `
90
90
- Description: Choose a listen port, defaults to ` 3000 ` .
91
91
92
+ ### ` gen ` command
93
+
94
+ Docsify's generators.
95
+
96
+ ``` shell
97
+ docsify gen < path> [--sidebar _sidebar.md]
98
+
99
+ # docsify g <path> [-s _sidebar.md]
100
+ ```
101
+
102
+ - ` --sidebar ` option:
103
+ - Shorthand: ` -s `
104
+ - Type: string
105
+ - Default: ` _sidebar.md `
106
+ - Description: Generate sidebar file, defaults to ` _sidebar.md ` .
107
+
92
108
## Contributing
93
109
94
110
Please see the [ Contributing Guidelines] ( ./CONTRIBUTING.md )
You can’t perform that action at this time.
0 commit comments