Skip to content

Commit d08d1dd

Browse files
authored
Merge pull request #1073 from nisarhassan12/develop
Gitpod setup enhancements.
2 parents bbcee36 + 0eb9708 commit d08d1dd

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.gitpod.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
tasks:
2-
- init: npm install && npm run build
2+
- command: gp await-port 3000 && sleep 3 && gp preview $(gp url 3000)
3+
- init: npm install
34
command: npm run dev
5+
ports:
6+
- port: 3000
7+
onOpen: ignore
8+
vscode:
9+
extensions:
10+
- sysoev.language-stylus@1.11.0:xX39oruAJ5UQzTNVRdbBaQ==

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<a href="https://www.npmjs.com/package/docsify"><img alt="npm" src="https://img.shields.io/npm/v/docsify.svg?style=flat-square"></a>
1919
<a href="https://github.com/QingWei-Li/donate"><img alt="donate" src="https://img.shields.io/badge/%24-donate-ff69b4.svg?style=flat-square"></a>
2020
<a href="https://gitter.im/docsifyjs/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link"><img alt="gitter" src="https://img.shields.io/gitter/room/docsifyjs/docsify.svg?style=flat-square"></a>
21+
<a href="https://gitpod.io/#https://github.com/docsifyjs/docsify"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" alt="Gitpod Ready-to-Code"></a>
2122
</p>
2223

2324
<p align="center">Gold Sponsor via <a href="https://opencollective.com/docsify">Open Collective</a></p>
@@ -69,6 +70,16 @@ Move to [awesome-docsify](https://github.com/docsifyjs/awesome-docsify#showcase)
6970

7071
## Contributing
7172

73+
### Online one-click setup for Contributing
74+
75+
You can use Gitpod(A free online VS Code-like IDE) for contributing. With single click it'll launch a workspace and automatically:
76+
77+
- clone the docsify repo.
78+
- install the dependencies.
79+
- start `npm run dev`.
80+
81+
So that you can start straight away.
82+
7283
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/docsifyjs/docsify)
7384

7485
- Fork it!

0 commit comments

Comments
 (0)