Skip to content

Commit 282be30

Browse files
ferraraferFilledStacks
authored andcommitted
Improve README adding contributing documents
1 parent a46331c commit 282be30

8 files changed

+381
-28
lines changed

CODE_OF_CONDUCT.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment for our community include:
12+
13+
* Demonstrating empathy and kindness toward other people
14+
* Being respectful of differing opinions, viewpoints, and experiences
15+
* Giving and gracefully accepting constructive feedback
16+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
* Focusing on what is best not just for us as individuals, but for the overall community
18+
19+
Examples of unacceptable behavior include:
20+
21+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
22+
* Trolling, insulting or derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others' private information, such as a physical or email address, without their explicit permission
25+
* Contacting individual members, contributors, or leaders privately, outside designated community mechanisms, without their explicit permission
26+
* Other conduct which could reasonably be considered inappropriate in a professional setting
27+
28+
## Enforcement Responsibilities
29+
30+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
31+
32+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
33+
34+
## Scope
35+
36+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
37+
38+
## Enforcement
39+
40+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [email protected]. All complaints will be reviewed and investigated promptly and fairly.
41+
42+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
43+
44+
## Enforcement Guidelines
45+
46+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
47+
48+
### 1. Correction
49+
50+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
51+
52+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
53+
54+
### 2. Warning
55+
56+
**Community Impact**: A violation through a single incident or series of actions.
57+
58+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
59+
60+
### 3. Temporary Ban
61+
62+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
63+
64+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
65+
66+
### 4. Permanent Ban
67+
68+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
69+
70+
**Consequence**: A permanent ban from any sort of public interaction within the community.
71+
72+
## Attribution
73+
74+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at <https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
75+
76+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
77+
78+
[homepage]: https://www.contributor-covenant.org
79+
80+
For answers to common questions about this code of conduct, see the FAQ at <https://www.contributor-covenant.org/faq>. Translations are available at <https://www.contributor-covenant.org/translations>.

CONTRIBUTING.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Welcome to Stacked docs contributing guide <!-- omit in toc -->
2+
3+
Thank you for investing your time in contributing to our project! Any contribution you make will be reflected on [stacked.filledstacks.com](https://stacked.filledstacks.com/) :sparkles:.
4+
5+
Read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable.
6+
7+
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
8+
9+
Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly.
10+
11+
## New contributor guide
12+
13+
To get an overview of the project, read the [README](README.md). Here are some resources to help you get started with open source contributions:
14+
15+
- [Finding ways to contribute to open source on GitHub](https://docs.github.com/en/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github)
16+
- [Set up Git](https://docs.github.com/en/get-started/quickstart/set-up-git)
17+
- [GitHub flow](https://docs.github.com/en/get-started/quickstart/github-flow)
18+
- [Collaborating with pull requests](https://docs.github.com/en/github/collaborating-with-pull-requests)
19+
20+
## Getting started
21+
22+
Check to see what [types of contributions](/contributing/types-of-contributions.md) we accept before making changes. Some of them don't even require writing a single line of code :sparkles:.
23+
24+
### Issues
25+
26+
#### Create a new issue
27+
28+
If you spot a problem with the docs, [search if an issue already exists](https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests#search-by-the-title-body-or-comments). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/FilledStacks/stacked-docs/issues/new/choose).
29+
30+
#### Solve an issue
31+
32+
Scan through our [existing issues](https://github.com/FilledStacks/stacked-docs/issues) to find one that interests you. You can narrow down the search using `labels` as filters.
33+
34+
### Make Changes
35+
36+
#### Make changes in the UI
37+
38+
Click **Edit this page** at the bottom of any docs page to make small changes such as a typo, sentence fix, or a broken link. This takes you to the `.md` file where you can make your changes and [create a pull request](#pull-request) for a review.
39+
40+
#### Make changes locally
41+
42+
1. Fork the repository.
43+
- Using GitHub Desktop:
44+
- [Getting started with GitHub Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/getting-started-with-github-desktop) will guide you through setting up Desktop.
45+
- Once Desktop is set up, you can use it to [fork the repo](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/cloning-and-forking-repositories-from-github-desktop)!
46+
47+
- Using the command line:
48+
- [Fork the repo](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#fork-an-example-repository) so that you can make your changes without affecting the original project until you're ready to merge them.
49+
50+
2. Install or update to **Node.js**, at the version 16.14 or above. For more information, see [the development guide](contributing/development.md).
51+
52+
3. Create a working branch and start with your changes!
53+
54+
### Commit your update
55+
56+
Commit the changes once you are happy with them. Don't forget to [self-review](/contributing/self-review.md) to speed up the review process:zap:.
57+
58+
### Pull Request
59+
60+
When you're finished with the changes, create a pull request, also known as a PR.
61+
- Fill the "Ready for review" template so that we can review your PR. This template helps reviewers understand your changes as well as the purpose of your pull request.
62+
- Don't forget to [link PR to issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if you are solving one.
63+
- Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so the branch can be updated for a merge.
64+
Once you submit your PR, a Stacked team member will review your proposal. We may ask questions or request additional information.
65+
- We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
66+
- As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).
67+
- If you run into any merge issues, checkout this [git tutorial](https://github.com/skills/resolve-merge-conflicts) to help you resolve merge conflicts and other issues.
68+
69+
### Your PR is merged!
70+
71+
Congratulations :tada::tada: The FilledStacks team thanks you :sparkles:.
72+
73+
Once your PR is merged, your contributions will be publicly visible on the [Stacked docs](https://stacked.filledstacks.com).
74+
75+
Now that you are part of the Stacked docs community, see how else you can [contribute to the docs](/contributing/types-of-contributions.md).

README.md

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,29 @@
1-
# Website
1+
# Stacked Docs <!-- omit in toc -->
2+
3+
This repository contains the documentation website code and Markdown source files for [stacked.filledstacks.com](https://stacked.filledstacks.com).
24

3-
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
5+
Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly.
46

5-
### Installation
7+
## Contributing
68

7-
```
8-
$ yarn
9-
```
9+
See [the contributing guide](CONTRIBUTING.md) for detailed instructions on how to get started with our project.
1010

11-
### Local Development
11+
We accept different [types of contributions](./contributing/types-of-contributions.md), including some that don't require you to write a single line of code.
1212

13-
```
14-
$ yarn start
15-
```
13+
On the Stacked Docs site, you can click the edit this page button at the bottom of the page to open a pull request for quick fixes like typos, updates, or link fixes.
1614

17-
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
15+
For more complex contributions, you can open an issue using the most appropriate [issue template](https://github.com/FilledStacks/stacked-docs/issues/new/choose) to describe the changes you'd like to see.
1816

19-
### Build
17+
If you're looking for a way to contribute, you can scan through our [existing issues](https://github.com/FilledStacks/stacked-docs/issues) for something to work on. When ready, check out [Getting Started with Contributing](/CONTRIBUTING.md) for detailed instructions.
2018

21-
```
22-
$ yarn build
23-
```
19+
### Join us in discussions
2420

25-
This command generates static content into the `build` directory and can be served using any static contents hosting service.
21+
We use Slack to talk about all sorts of topics related to Stacked and this site. For example: if you'd like help troubleshooting a PR, have a great new idea, or want to share something amazing you've learned in our docs, join us in the [Slack](https://filledstacks.slack.com/).
2622

27-
### Deployment
23+
## License
2824

29-
Using SSH:
25+
**TODO**: complete by Dane
3026

31-
```
32-
$ USE_SSH=true yarn deploy
33-
```
27+
## Thanks :purple_heart:
3428

35-
Not using SSH:
36-
37-
```
38-
$ GIT_USER=<Your GitHub username> yarn deploy
39-
```
40-
41-
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
29+
Thanks for all your contributions and efforts towards improving the Stacked documentation. We thank you for being part of our :sparkles: community :sparkles:!

contributing/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Contributing to Stacked docs
2+
3+
Check out our [contributing guide](../CONTRIBUTING.md) to see all the ways you can participate in the Stacked docs community :sparkling_heart:
4+
5+
Here, you'll find additional information that might be helpful as you work on a pull request in this repo.
6+
7+
- [development](./development.md) - steps for getting this app running on your local machine
8+
- [translation](./translation.md) - steps for translating docs to a different locale

contributing/development.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Development
2+
3+
This document describes the process for running this application on your local computer.
4+
5+
## Getting started
6+
7+
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
8+
9+
### Requirements
10+
11+
Node.js version 16.14 or above.
12+
13+
### Installation
14+
15+
In the directory containing package.json, run your package manager's install command:
16+
17+
npm
18+
```
19+
$ npm install
20+
```
21+
22+
yarn
23+
```
24+
$ yarn install
25+
```
26+
27+
### Build
28+
29+
Docusaurus is a modern static website generator so we need to build the website into a directory of static contents and put it on a web server so that it can be viewed. To build the website:
30+
31+
npm
32+
```
33+
$ npm run build
34+
```
35+
36+
yarn
37+
```
38+
$ yarn build
39+
```
40+
41+
and contents will be generated within the /build directory, which can be copied to any static file hosting service like GitHub pages, Vercel or Netlify.
42+
43+
### Running the development server
44+
45+
To preview your changes as you edit the files, you can run a local development server that will serve your website and reflect the latest changes.
46+
47+
npm
48+
```
49+
$ npm run start
50+
```
51+
52+
yarn
53+
```
54+
$ yarn start
55+
```
56+
57+
By default, a browser window will open at http://localhost:3000.

contributing/self-review.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### Self Review
2+
3+
You should always review your own PR first.
4+
5+
For content changes, make sure that you:
6+
7+
- [ ] Confirm that the changes meet the user experience and goals outlined in the content design plan (if there is one).
8+
- [ ] Compare your pull request's source changes to staging to confirm that the output matches the source and that everything is rendering as expected. This helps spot issues like typos, content that doesn't follow the style guide, or content that isn't rendering due to versioning problems. Remember that lists and tables can be tricky.
9+
- [ ] Review the content for technical accuracy.
10+
- [ ] If there are any failing checks in your PR, troubleshoot them until they're all passing.

0 commit comments

Comments
 (0)