Skip to content

Conversation

@smallsaucepan
Copy link
Member

@smallsaucepan smallsaucepan commented Dec 16, 2024

Felt like our project docs like README, CONTRIBUTING, etc were getting a bit messy. Have changed the layout and revised the content of many of them. Moved all but the publish to NPM non-negotiables (README, LICENSE and CHANGELOG) to the docs/ subdirectory.

As an example, split parts of README into GETTING_STARTED, and parts of CONTRIBUTING into PUBLISHING. Trimmed quite a bit of low level "type this command then this command" kind of thing.

Logic being some of these sections most contributors won't ever need to know, so better to keep what they will need as navigable as possible. And the step by step instruction sections are difficult to keep up to date or guarantee they'll work for everyone.

Updated the code of conduct from Contributor Covenant 1.4 to 2.1. Left the wording as is e.g. didn't bother customising from "community" to "project" or "member" to "maintainer".

Also revamped issue and PR templates to ask questions I felt when doing my own PRs would be more meaningful to answer.

Possibly easier to browse the PR branch than look at the MD diffs below - https://github.com/smallsaucepan/turf/tree/proj-doc-updates

Please take a look. Might be going too far for some. If so, add a comment and maybe we can add some things back in.

Please provide the following when creating a PR:

  • Meaningful title, including the name of the package being modified.
  • Summary of the changes.
  • Heads up if this is a breaking change.
  • Any issues this resolves.
  • Inclusion of your details in the contributors field of package.json - you've earned it! 👏
  • Confirmation you've read the steps for preparing a pull request.

@tcql as they don't currently list obvious contact details.
…set of contributors will ever publish so better to have CONTRIBUTING focus on coding and PR related activities.
…uide. Cut a lot of cut and paste commands (hard to guarantee currency). Removed REGEN references - think it's use should be discouraged, though probably differing opinions on that one!
@mfedderly
Copy link
Collaborator

It is worth explicitly stating that this changes the code of conduct from Contributor Covenant 1.4 to 2.1. I don't have a problem with this change, but it feels important to state explicitly here.

Copy link
Collaborator

@mfedderly mfedderly left a comment

Choose a reason for hiding this comment

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

This looks like a great refresh on the docs, I have a bunch of little nits.

Happy to approve but also happy to give others time to review as well.


Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[@morganherlocker](https://github.com/morganherlocker) or [@tmcw](https://github.com/tmcw).
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like we maybe removed a few people here, is anyone interested in being added?

Copy link
Collaborator

@twelch twelch left a comment

Choose a reason for hiding this comment

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

I generally approve of these changes. See my comment about potentially dropping the GETTING_STARTED in this repo and linking to the versioned one on the doc website.

@smallsaucepan
Copy link
Member Author

Thanks @mfedderly and @twelch. Incorporated all your suggestions. Will merge.

@smallsaucepan smallsaucepan merged commit a8cbea3 into Turfjs:master Dec 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants