diff --git a/.gitpod.yml b/.gitpod.yml index 1f68bc2f..8113b45a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,3 +1,10 @@ tasks: - - init: npm install && npm run build + - command: gp await-port 3000 && sleep 3 && gp preview $(gp url 3000) + - init: npm install command: npm run dev +ports: + - port: 3000 + onOpen: ignore +vscode: + extensions: + - sysoev.language-stylus@1.11.0:xX39oruAJ5UQzTNVRdbBaQ== \ No newline at end of file diff --git a/README.md b/README.md index 46c29971..fdef0a95 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ npm donate gitter + Gitpod Ready-to-Code

Gold Sponsor via Open Collective

@@ -69,6 +70,16 @@ Move to [awesome-docsify](https://github.com/docsifyjs/awesome-docsify#showcase) ## Contributing +### Online one-click setup for Contributing + +You can use Gitpod(A free online VS Code-like IDE) for contributing. With single click it'll launch a workspace and automatically: + +- clone the docsify repo. +- install the dependencies. +- start `npm run dev`. + +So that you can start straight away. + [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/docsifyjs/docsify) - Fork it!