2025-03-14 21:59:59 -06:00
|
|
|
# docsify
|
|
|
|
|
|
|
|
|
|
> Initialize and serve markdown documentation.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://cli.docsifyjs.org/#/?id=usage>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`docsify serve {{[-p|--port]}} {{80}} {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Generate a sidebar markdown file in the specified directory:
|
|
|
|
|
|
|
|
|
|
`docsify generate {{path/to/directory}}`
|