Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork161
🖌 docsify cli tool - A magical documentation generator.
License
docsifyjs/docsify-cli
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
🖌 docsify cli - A magical documentation generator.
Gold Sponsor viaOpen Collective
Running a server on
localhost
with live-reload.
Installdocsify-cli
vianpm
oryarn
globally.
npm i docsify-cli -g# yarn global add docsify-cli
Useinit
to generate your docs.
docsify init [path] [--local false] [--rcMode] [--theme vue] [--plugins]# docsify i [path] [-l false] [--rc] [-t vue] [-p]
[path]
defaults to the current directory. Use relative paths like./docs
(ordocs
).
--local
option:- Shorthand:
-l
- Type: boolean
- Default:
false
- Description: Copy
docsify
files to the docs path, defaults tofalse
usingcdn.jsdelivr.net
as the content delivery network (CDN). To explicitly set this option tofalse
use--no-local
.
- Shorthand:
--rcMode
option:- Shorthand:
--rc
- Type: boolean
- Default:
false
- Description: Try
docsify
preview release version (rc
resource).
- Shorthand:
--theme
option:- Shorthand:
-t
- Type: string
- Default:
vue
- Description: Choose a theme, defaults to
vue
.
- Shorthand:
--plugins
option:- Shorthand:
-p
- Type: boolean
- Default:
false
- Description: Provide a list of plugins to insert as
<script>
tags toindex.html
.
- Shorthand:
Run a server onlocalhost
with livereload.
docsify serve [path] [--open false] [--port 3000]# docsify s [path] [-o false] [-p 3000]
--open
option:- Shorthand:
-o
- Type: boolean
- Default:
false
- Description: Open the docs in the default browser, defaults to
false
. To explicitly set this option tofalse
use--no-open
.
- Shorthand:
--port
option:- Shorthand:
-p
- Type: number
- Default:
3000
- Description: Choose a listen port, defaults to
3000
.
- Shorthand:
Docsify's generators.
docsify generate [path] [--sidebar _sidebar.md] [--overwrite]# docsify g [path] [-s _sidebar.md] [-o]
--sidebar
option:- Shorthand:
-s
- Type: string
- Default:
_sidebar.md
- Description: Generate sidebar file, defaults to
_sidebar.md
.
- Shorthand:
--overwrite
option:- Shorthand:
-o
- Type: boolean
- Default:
false
- Description: Allow to overwrite generated files.
- Shorthand:
Please see theContributing Guidelines
About
🖌 docsify cli tool - A magical documentation generator.
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.