mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
docsify: add page (#8185)
This commit is contained in:
parent
6588dd7507
commit
7c5c2a7ccd
1 changed files with 24 additions and 0 deletions
24
pages/common/docsify.md
Normal file
24
pages/common/docsify.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# docsify
|
||||||
|
|
||||||
|
> Initialize and serve markdown documentation.
|
||||||
|
> More information: <https://cli.docsifyjs.org>.
|
||||||
|
|
||||||
|
- Initialize a new documentation in the current directory:
|
||||||
|
|
||||||
|
`docsify init`
|
||||||
|
|
||||||
|
- Initialize a new documentation in the specified directory:
|
||||||
|
|
||||||
|
`docsify init {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Serve local documentation on `localhost:3000` with live reload:
|
||||||
|
|
||||||
|
`docsify serve {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Serve local documentation on `localhost` at the specified port:
|
||||||
|
|
||||||
|
`docsify serve --port {{80}} {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Generate a sidebar markdown file in the specified directory:
|
||||||
|
|
||||||
|
`docsify generate {{path/to/directory}}`
|
Loading…
Add table
Reference in a new issue