From 7f3829124bcfb68d002a6fef33159dfac9930b12 Mon Sep 17 00:00:00 2001 From: Nisar Hassan Naqvi Date: Sun, 12 Jan 2020 09:33:21 +0500 Subject: [PATCH] feat: add Gitpod config for Docusaurus 2 (#2201) * feat: fully automates dev setup with gitpod. * Update .gitpod.yml * Update README.md Co-authored-by: Yangshun Tay --- .gitpod.yml | 6 ++++++ README.md | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 000000000000..b5ab95bc6f4c --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,6 @@ +tasks: + - init: yarn install + command: yarn start +ports: + - port: 3000 + onOpen: open-preview diff --git a/README.md b/README.md index efdddb141805..b4799a8b85b3 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Chat code style: prettier Tested with Jest + Gitpod Ready-to-Code Netlify Status

@@ -37,11 +38,17 @@ We've released Docusaurus because it helps us better scale and supports the many Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read [the full text](https://code.fb.com/codeofconduct) so that you can understand what actions will and will not be tolerated. -### Contributing Guide +### Contributing guide Read our [contributing guide](https://github.com/facebook/docusaurus/blob/master/CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Docusaurus. -### Beginner Friendly Bugs +### Contribute online with a single click + +You can use Gitpod (a free, online, VS Code-based IDE) for contributing. It will launch a ready to code workspace (for Docusaurus 2) with all the dependencies installed and the development server running so that you can start contributing straight away. + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/facebook/docusaurus) + +### Beginner-friendly bugs To help you get your feet wet and get you familiar with our contribution process, we have a list of [beginner friendly bugs](https://github.com/facebook/docusaurus/labels/good%20first%20issue) that might contain smaller issues to tackle first. This is a great place to get started.