docs icon indicating copy to clipboard operation
docs copied to clipboard

Contributing guidelines suggestions

Open mairaw opened this issue 11 years ago • 9 comments

Re: https://github.com/dotnet/core-docs/blob/master/CONTRIBUTING.md

I think there are a couple of things that could be improved for the contributing guidelines: 1- We start the topic with the build process. This can be scary as the first thing you see to contribute. I imagine that not everybody contributing will need to build the docs. Am I wrong? Maybe we should explain when and who needs to do that. 2- The guidelines are written from the standpoint of building new articles. What if I just want to edit a topic that I found an issue with? Do I also need to file an issue and get approval?

/cc @BethMassi @blackdwarf

mairaw avatar Nov 19 '15 18:11 mairaw

@mairaw I didn't even see this issue. :) Some answers:

  1. I think everyone would want to see if their changes work right? Consider in hte future when we have documents pulling in samples. You need to see if this works.
  2. Yes, of course. We need to make this explicit however, so good catch.

thesmithee avatar Nov 30 '15 17:11 thesmithee

Agreed with @blackdwarf. Something like this?

"Before adding or editing content, submit an issue with a suggestion for your proposed additions and/or changes. If you are adding a new article, provide detail on what the it would discuss, and how it would relate to existing documentation."

cartermp avatar Nov 30 '15 18:11 cartermp

LGTM

Sent from Outlookhttp://aka.ms/weboutlook


From: Phillip Carter [email protected] Sent: Monday, November 30, 2015 10:31:03 AM To: dotnet/core-docs Subject: Re: [core-docs] Contributing guidelines suggestions (#148)

Agreed with @blackdwarfhttps://github.com/blackdwarf. Something like this?

"Before adding or editing content, submit an issue with a suggestion for your proposed additions and/or changes. If you are adding a new article, provide detail on what the it would discuss, and how it would relate to existing documentation."

Reply to this email directly or view it on GitHubhttps://github.com/dotnet/core-docs/issues/148#issuecomment-160715907.

stevehoag avatar Nov 30 '15 18:11 stevehoag

I can see a scenario where I just want to make simple fixes and would just make the changes and submit a PR. In this case, I don't need to build the docs and don't think people would need approval for that. Maybe just start with the guidelines first and then explain how to build the docs later and why you need to build the docs. It might not be totally obvious the reason you wouldn't simply edit the md files and be done for a newbie.

Thoughts?

mairaw avatar Nov 30 '15 19:11 mairaw

@mairaw OK, for very simple changes this is ok. But, for instance, what happens if you decide to add a new file or you accidentaly change the title of a given MD file. Building actually warns you about this, because TOC will point to a file that doesn't exist (docfx fails the build with an error).

if you are really, really only changing 1-2 lines, you can actually do that in the GH directly and make a PR from there, you don't really need to clone the entire repo. Maybe we can put that in the instructions. But I would want to have a clean PR for everything, really.

thesmithee avatar Dec 01 '15 05:12 thesmithee

Agree, that's what I've been doing because my contributions so far were only simple fixes. What do you mean with a clean PR @blackdwarf? You could also argue that the contributing guidelines are not for the simple fixes and not cover that scenario here. But my suggestions would still apply.

mairaw avatar Dec 01 '15 07:12 mairaw

@mairaw I mean that each contribution is backed by a PR.

thesmithee avatar Dec 01 '15 15:12 thesmithee

Makes sense @blackdwarf.

mairaw avatar Dec 01 '15 18:12 mairaw

Closed with #188

thesmithee avatar Feb 25 '16 19:02 thesmithee