8000 reST fixes for contributors files by stevepiercy · Pull Request #878 · cookiecutter/cookiecutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

reST fixes for contributors files #878

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

Merged
merged 5 commits into from
Jan 1, 2017

Conversation

stevepiercy
Copy link
Contributor

No description provided.

@codecov-io
Copy link
codecov-io commented Dec 27, 2016

Current coverage is 100% (diff: 100%)

Merging #878 into master will not change coverage

@@           master   #878   diff @@
====================================
  Files          17     17          
  Lines         685    685          
  Methods         0      0          
  Messages        0      0          
  Branches        0      0          
====================================
  Hits          685    685          
  Misses          0      0          
  Partials        0      0          

Powered by Codecov. Last update 2b8a8eb...bace552

Copy link
Member
@hackebrot hackebrot left a comment

Choose a reason for hiding this comment

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

Thank you @stevepiercy for this PR! 🙇

Can you please revert the newline changes in CONTRIBUTING.rst? It now has Windows ^M line feeds.

@stevepiercy
Copy link
Contributor Author

I wondered what that meant in GitHub. I got this from the master branch.
https://github.com/audreyr/cookiecutter/blame/master/Makefile

Strange how it was not caught until I ran it make contributing and made this PR. shrug

Copy link
Contributor Author
@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

This should be fixed now.

Note: this project is very conservative, so new features that aren't tagged
with "please-help" might not get into core. We're trying to keep the code base
small, extensible, and streamlined. Whenever possible, it's best to try and
implement feature ideas as separate projects outside of the core codebase.
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like this text was updated directly in CONTRIBUTING.rst and not in docs/types_of_contributions.rst, could you please fix this?

Copy link
Contributor Author
@stevepiercy stevepiercy Dec 31, 2016

Choose a reason for hiding this comment

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

@michaeljoseph on my branch, docs/types_of_contributions.rst is current with master (except the changes I made after pulling from master). I think that someone may forgotten to run make contributing and commit CONTRIBUTING.rst at some point, so the source files were getting updated but not the concatenation. I nearly missed it myself.

Copy link
Contributor

Choose a reason for hiding this comment

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

@stevepiercy I think the issue here is that the concatenation got updated, but not the source file.

3695534#diff-ea1f65a8eaac0cec7ae151dfdbbbc587R56

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@michaeljoseph OK, I double-checked, and I found that both the commit history and the raw content of the file docs/types_of_contributions.rst on both audreyr/master and stevepiercy/rest-syntax are identical.

Compare history:

Compare source:

Do you see something that I missed?

In the commit you linked to, it appears that @audreyr on Jun 7, 2016 made the commit to only 1 file, /CONTRIBUTING.rst, but not the source file.

Would you like me to take the changes from @audreyr's commit in /CONTRIBUTING.rst and put them into docs/types_of_contributions.rst on my branch, then render /CONTRIBUTING.rst again and commit both files? I think that is what you want in the end, but want to confirm. Thank you!

Copy link
Contributor

Choose a reason for hiding this comment

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

Would you like me to take the changes from @audreyr's commit in /CONTRIBUTING.rst and put them into docs/types_of_contributions.rst on my branch, then render /CONTRIBUTING.rst again and commit both files?

Yes please :) Thanks for being so much clearer than my request 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in bace552

cat docs/core_committer_guide.rst >> CONTRIBUTING.rst
echo "\r\rAutogenerated from the docs via \`make contributing\`" >> CONTRIBUTING.rst
echo "WARNING: Don't forget to replace any :ref: statements with literal names"
WARNING: Don't forget to replace any :ref: statements with literal names
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we update this in docs/core_committer_guide.rst to be consistent with your change in the Makefile?

Alternatively, I'm not opposed to just removing this output entirely.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 77d44ad

Copy link
Contributor Author
@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Good catch. Fixed in 77d44ad

Note: this project is very conservative, so new features that aren't tagged
with "please-help" might not get into core. We're trying to keep the code base
small, extensible, and streamlined. Whenever possible, it's best to try and
implement feature ideas as separate projects outside of the core codebase.
Copy link
Contributor Author
@stevepiercy stevepiercy Dec 31, 2016

Choose a reason for hiding this comment

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

@michaeljoseph on my branch, docs/types_of_contributions.rst is current with master (except the changes I made after pulling from master). I think that someone may forgotten to run make contributing and commit CONTRIBUTING.rst at some point, so the source files were getting updated but not the concatenation. I nearly missed it myself.

@michaeljoseph michaeljoseph added the documentation This issue/PR relates to or includes documentation. label Dec 31, 2016
…bbbc587R56 in /CONTRIBUTING.rst and put them into `docs/types_of_contributions.rst`, rerender `/CONTRIBUTING.rst`
@michaeljoseph michaeljoseph merged commit 91edb73 into cookiecutter:master Jan 1, 2017
@michaeljoseph
Copy link
Contributor

Thanks @stevepiercy 🎉

michaeljoseph added a commit to michaeljoseph/cookiecutter that referenced this pull request Jan 1, 2017
@hackebrot
Copy link
Member

Woohoo! Thank you @stevepiercy 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This issue/PR relates to or includes documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0