Skip to content
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

Merged
merged 2 commits into from
Jan 28, 2016
Merged

[Docs] Contributing guide #3075

merged 2 commits into from
Jan 28, 2016

Conversation

mbrookes
Copy link
Member

Closes #134.

@oliviertassinari
Copy link
Member

Could we add a section on the docs that use CONTRIBUTING.md too?

@mbrookes
Copy link
Member Author

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spteps -> steps

Copy link
Contributor

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

Copy link
Member Author

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.

@oliviertassinari
Copy link
Member

I would add it under the Discover More section, close to the Community.

@newoga
Copy link
Contributor

newoga commented Jan 27, 2016

I think this a good start 👍 Much much much better than nothing. 😄

@alitaheri
Copy link
Member

Thanks a lot for getting this done after so long 👍 👍 🎉

Regarding PR and issues. I think Open an Issue and Submit a Pull Request make more sense. What do you think guys?

@mbrookes
Copy link
Member Author

@alitaheri Thanks!

I've made it Opening and Contributing respectively. Better, thanks.

@mbrookes
Copy link
Member Author

@oliviertassinari I'm trying to get this working in the docs site, but I'm getting an error:

ERROR in ../CONTRIBUTING.md
Module parse failed: /Users/Matt/Projects/material-ui/CONTRIBUTING.md Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.

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.

@oliviertassinari
Copy link
Member

I'm getting a linting error:

Can you try to npm install --save-dev the markdown loader on the root folder?

@mbrookes
Copy link
Member Author

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 include:, but I assume that's effectively the same as not having it at all.)

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 mbrookes added docs Improvements or additions to the documentation PR: Needs Review labels Jan 28, 2016
@hai-cea
Copy link
Member

hai-cea commented Jan 28, 2016

@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 up for grabs issue tag.

@newoga newoga changed the title [WIP][Docs] Contirbuting guide [WIP][Docs] Contributing guide Jan 28, 2016
@mbrookes
Copy link
Member Author

I'll put that in, although in reality most people will want to scratch their own itch (bug / feature) before contributing more generally.

@mbrookes
Copy link
Member Author

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`
Copy link
Member

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.

@oliviertassinari
Copy link
Member

@mbrookes That's a really good start 👍. I think that it would be good to add a link to CONTRIBUTING.md in the Contribute section of README.md.

@mbrookes
Copy link
Member Author

@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.

@oliviertassinari
Copy link
Member

@mbrookes Let's squash down and merge 🎉.

oliviertassinari added a commit that referenced this pull request Jan 28, 2016
@oliviertassinari oliviertassinari merged commit 3da3523 into mui:master Jan 28, 2016
@oliviertassinari oliviertassinari changed the title [WIP][Docs] Contributing guide [Docs] Contributing guide Jan 28, 2016
@oliviertassinari
Copy link
Member

@mbrookes Thanks!

@alitaheri
Copy link
Member

Finally 👍 Yeeey 🎉 🎈 Thanks a lot 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants