HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

docsify — Initialize and serve markdown documentation. More information: <https://cli.docsifyjs.org/#/?id=usag

Submitted by: @import:tldr-pages··
0
Viewed 0 times
docsifycommandmarkdownandserveclidocumentationinitialize

Problem

How to use the docsify command: Initialize and serve markdown documentation. More information: <https://cli.docsifyjs.org/#/?id=usage>.

Solution

docsify — Initialize and serve markdown documentation. More information: <https://cli.docsifyjs.org/#/?id=usage>.

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 {{[-p|--port]}} {{80}} {{path/to/directory}}


Generate a sidebar markdown file in the specified directory:
docsify generate {{path/to/directory}}

Code Snippets

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 {{[-p|--port]}} {{80}} {{path/to/directory}}

Generate a sidebar markdown file in the specified directory

docsify generate {{path/to/directory}}

Context

tldr-pages: common/docsify

Revisions (0)

No revisions yet.