see https://github.com/lijiarui/wechaty-docs
./src/README.md
from wechaty/README.md
./gendoc_from_wechaty.sh
use jsdoc2md generate document from wechaty
./src/api.md
generated by ./gendoc_from_wechaty.sh
./build_doc.sh
merge markdown from ./src
to ./docs/README.md
./docs
documentation target
./server.sh
script to run a web server at http://localhost:8080
for preview
https://botorange.github.io/wechaty-doc/
why docs/.nojekyll
You need to create a .nojekyll in ./docs to prevent GitHub Pages from ignoring files that begin with an underscore.