

GitHub - LeonardoCesca/js-docs: Este projeto foi desenvolvido para contribuir co...
source link: https://github.com/LeonardoCesca/js-docs
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
JavaScript Doc's made with Gatsby.
This project was made to contribute to the Open Source World and for adquire more knowledge with this tools.
🚀 Fork and Contribute
-
Forking repository
Fork the repository and configure set-up UPSTREAM:
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
Check the repository:
$ git remote -v
-
Create a branch
Navigate into the new site’s directory and start it up.
cd js-docs/ git checkout -b <add-your-new-branch-name> For example: git checkout -b feature-xyz
-
Install dependencies
Run the following commands above:
cd js-docs/ yarn install or npm install
-
Start developing.
Change to the repository directory on your computer (if you are not already there):
cd js-docs/ yarn start or npm start
-
Create a new page
To create more one page about javascript concepts, read about rules:
- Add a new folder into pages directory
- Create a archive
index.js
on the new folder created - Create a markdown into markdown directory
Note: Remember see if not exist a style that you want use. The principal styles are into
src/styles.js
Note 2: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial. -
Make a PR (Pull Request)
Don't forget to align the code with the master: $ git pull upstream master Submit the Pull Request to the repository on Github! And Be happy!
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!
💫 Deploy
🎓 Authors / Contributors
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK