-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[Docs] Contributing guide #3075
Conversation
Could we add a section on the docs that use |
Good idea. Where would it best fit? |
|
||
If you think you have found a bug, or have a new feature idea, please start by making sure it hasn't already been [reported or fixed](https://github.com/callemall/material-ui/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aclosed). You can search through existing issues and PRs to see if someone's reported one similar to yours. | ||
|
||
Next, create a new issue that briefly explains the problem, and provides a bit of background as to the circumstances that triggered it, and spteps to reproduce it. A minimal example for code issues, or images or animated gifs for design issues can help understand your issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spteps -> steps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be worth while to list some things that we general like to see in issues, maybe like these things?
bugs: browser, version, code example
feature request: screenshot/link to the spec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've got some of those, but I'll add the rest.
I would add it under the |
I think this a good start 👍 Much much much better than nothing. 😄 |
Thanks a lot for getting this done after so long 👍 👍 🎉 Regarding PR and issues. I think |
@alitaheri Thanks! I've made it Opening and Contributing respectively. Better, thanks. |
@oliviertassinari I'm trying to get this working in the docs site, but I'm getting an error:
Seems to be realted to ue to the import in Contributing.jsx. Is there something extra I need to do here? I looked at your recent PR for Showcase, and didn't see anything specific. I can push the broken build if you wanted to take a look. |
Can you try to |
Sorry, missed your reply earlier. I realised it was to do with this: https://github.com/callemall/material-ui/blob/master/docs/webpack-dev-server.config.js#L99 I've removed that line for now. An alternative is to symlink to CONTRIBUTING.md from discover-more. (Or to add the root folder to I also noticed there are some other stray directories in that file from the old docs layout, but out of scope to fix in this PR. |
@mbrookes Thank you for pulling this together! I think we may want to add a section on where new contributors can start? Like the project roadmap and the |
I'll put that in, although in reality most people will want to scratch their own itch (bug / feature) before contributing more generally. |
Okay, I've aded the intro and a roadmap section. There are only three issues tagged up-for-grabs, and aside from those with current PRs, pretty much everything is up for grabs anyway! |
npm run start | ||
``` | ||
You can now access | ||
If you find you need to use `console.log()` or `debugger`, you will need to temporarily disable linting. Simply comment out the [`preLoaders` section](https://github.com/callemall/material-ui/blob/master/docs/webpack-dev-server.config.js#L62) of `docs/webpack-dev-server.config.js` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a pain in the ass for me. We should find a way to make any eslint
error not blocking the webpack bundling.
@mbrookes That's a really good start 👍. I think that it would be good to add a link to |
@oliviertassinari Done. If there are no further suggestions, I think we should squash and merge. We can always come back later if there's anything else. |
@mbrookes Let's squash down and merge 🎉. |
Add CONTRIBUTING to README
[Docs] Contributing guide
@mbrookes Thanks! |
Finally 👍 Yeeey 🎉 🎈 Thanks a lot 😁 |
Closes #134.