-
Notifications
You must be signed in to change notification settings - Fork 63.2k
docs: improve contributor experience with setup guide and enhanced gitignore #39247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
CONTRIBUTING.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Contributing to GitHub Docs | ||
|
||
Thank you for your interest in contributing to GitHub Docs! 🎉 | ||
|
||
## Quick Start for Contributors | ||
|
||
### First-time Setup | ||
|
||
1. **Fork and clone the repository** | ||
```bash | ||
git clone https://github.com/YOUR-USERNAME/docs.git | ||
cd docs | ||
``` | ||
|
||
2. **Install dependencies** | ||
```bash | ||
npm install | ||
``` | ||
|
||
3. **Start the development server** | ||
```bash | ||
npm run dev | ||
``` | ||
|
||
### Making Changes | ||
|
||
1. **Create a new branch** | ||
```bash | ||
git checkout -b your-feature-branch | ||
``` | ||
|
||
2. **Make your changes** | ||
- Edit content in the `content/` directory | ||
- Test your changes locally with `npm run dev` | ||
|
||
3. **Test your changes** | ||
```bash | ||
npm test | ||
npm run lint | ||
``` | ||
|
||
4. **Commit and push** | ||
```bash | ||
git add . | ||
git commit -m "Brief description of your changes" | ||
git push origin your-feature-branch | ||
``` | ||
|
||
5. **Create a Pull Request** | ||
- Go to GitHub and create a PR from your fork | ||
|
||
## Easy First Contributions | ||
|
||
- Fix typos in documentation | ||
- Improve code examples | ||
- Add missing installation steps | ||
- Update outdated links | ||
- Improve formatting and readability | ||
|
||
## Need Help? | ||
|
||
- Check the detailed [contributing guide](contributing/README.md) | ||
- Browse [help wanted issues](https://github.com/github/docs/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) | ||
- Read the [content style guide](contributing/content-style-guide.md) | ||
|
||
## Code of Conduct | ||
|
||
Please note that this project is released with a [Code of Conduct](.github/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.