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

Revamped content and layout of project docs (README, CONTRIBUTING, etc) #2770

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

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.

README.md Outdated Show resolved Hide resolved
docs/CONTRIBUTING.md Outdated Show resolved Hide resolved
docs/CONTRIBUTING.md Outdated Show resolved Hide resolved
docs/CONTRIBUTING.md Outdated Show resolved Hide resolved
unit tests. Tests can either be traditional code based tests, or tests that pull in data files and compare inputs to outputs (see below).
* `package.json` - The [node](http://nodejs.org) metadata container file.
Modules imported in `index.ts` should be listed here under `dependencies`,
and modules used in `test.ts` or `bench.ts` should be listed under
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was going to comment on just these two instances, but there's a lot of usages of "module" in this file that are probably more canonically called "packages". Might be worth switching around.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated to use consistent terminology.


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?

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.

2 participants