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

Move contributing guide details to website and rename two sections #1335

Merged
merged 5 commits into from
Jun 17, 2021

Conversation

maxrjones
Copy link
Member

Description of proposed changes

This PR moves the detailed contributing sections to the website and renames two sections:
What can I do? -> Ways to Contribute
How can I talk to you? -> Getting Help
A shorter contributing guide with links to the website remains in root dir of the PyGMT repository.

Other suggested revisions will be submitted in a separate PR to keep changes isolated.

Fixes #1205

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

@weiji14 weiji14 added the documentation Improvements or additions to documentation label Jun 16, 2021
Copy link
Contributor

@willschlitzer willschlitzer left a comment

Choose a reason for hiding this comment

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

Looks good! I think this was a needed change.

Copy link
Member

@core-man core-man left a comment

Choose a reason for hiding this comment

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

Great~ I cannot see the Preview button right now, but it seems that the movement is smooth enough.

@seisman seisman added the final review call This PR requires final review and approval from a second reviewer label Jun 16, 2021
@seisman seisman added this to the 0.4.0 milestone Jun 16, 2021
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

Two points to consider:

  1. The third and fourth level section headings don't seem to be very clear on the rendered docs. Something about the sphinx theme maybe?

image

compared with the current CONTRIBUTING.md on GitHub which uses bold text.

image

  1. There is a "Contributing" link under "Getting Help and Contributing" on the sidebar which points to CONTRIBUTING.md on GitHub. Maybe the "Contributors Guide" (and "Maintainers Guide") should fit under there instead of under "Reference Documentation"? Or we can remove the link to CONTRIBUTING.md 🙂

image

P.S. Not sure why the "Show Deployment" button isn't showing up. But y'all can click on the Vercel deployment details under the checks section to get to the online rendered docs.

image

doc/contributing.md Outdated Show resolved Hide resolved
@maxrjones
Copy link
Member Author

Two points to consider:

1. The third and fourth level section headings don't seem to be very clear on the rendered docs. Something about the sphinx theme maybe?

I think this is a myst parser issue based on comparisons of the changelog when it was .rst versus .md. I assumed that people would prefer markdown over ReST, though it does not really matter to me either way. I would like to submit a separate PR with some more general suggestions for the contributing guide. Would it be OK to see about improving the rendering in that instead?

1. There is a "Contributing" link under "Getting Help and Contributing" on the sidebar which points to CONTRIBUTING.md on GitHub. Maybe the "Contributors Guide" (and "Maintainers Guide") should fit under there instead of under "Reference Documentation"? Or we can remove the link to CONTRIBUTING.md 🙂

I'll remove the CONTRIBUTING.md link. Eventually, I would prefer for this to go under a development tab but will leave that change to be reviewed in #1308.

@maxrjones maxrjones merged commit ab837d4 into master Jun 17, 2021
@maxrjones maxrjones deleted the contrib-web-page branch June 17, 2021 14:24
@maxrjones maxrjones removed the final review call This PR requires final review and approval from a second reviewer label Jun 17, 2021
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
…enericMappingTools#1335)

* Move contributing guide details to website

* Update doc/contributing.md

Co-authored-by: Wei Ji <[email protected]>

* Remove CONTRIBUTING.md from menu_links

Co-authored-by: Wei Ji <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move parts of the contributing guides to the website
6 participants