mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 13:47:22 +00:00
Update cheatsheets
This commit is contained in:
29
docsify
Normal file
29
docsify
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user