1.1.1 • Published 2 years ago

@dkvirus/ddocs v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

DDOCS

create a empty dir, and write your md file.

|-- my_docs
    |-- javascript.md
    |-- css.md
    |-- index.md

ddocs build

The build directory is generated under the root directory to convert the MD file to HTML.

$ cd my_docs
$ ddocs build

ddocs serve

Run a local static service where you can view documents by visit http://localhost:8080

$ cd my_docs
$ ddocs serve  # default port is 8080 , default host is localhost

or 

$ ddocs serve -p 8000 -h 127.0.0.1