-
Notifications
You must be signed in to change notification settings - Fork 793
Editing Update content with VSCode
Alison Joseph edited this page Aug 15, 2019
·
1 revision
Note: Full steps to fork the repo and install what you need to run the site locally can be found here: https://github.com/carbon-design-system/carbon-website/wiki/Updating-content-on-carbondesignsystem.com
- Open up VSCode
- Open up the website project
-
[OPTIONAL] Switch to
a11y-updates
branch

- Open terminal
- Run
yarn dev
- Open localhost:3000 to view website in browser
- Open VSCode
- Create new branch and name something that makes sense :)

- Make changes in content folder
- Reload browser to see changes
Click on GitHub icon on side nav Add comments and click checkmark

Click “Yes”

Run git push
from terminal
The first time you do this is will give you and error, just copy what it says and do it again. You should only have to do this the first time you push a change

- Go to GitHub in a browser https://github.com/carbon-design-system/carbon-website
- “New Pull Request” button
- Click “Compare across forks”
- Leave base fork default, and set the branch if needed
- Choose your fork to compare from and the new branch you created
- Add any comments you want describing the PR
- Click green “Create Pull Request” button