Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 2.84 KB

CONTRIBUTING.md

File metadata and controls

44 lines (34 loc) · 2.84 KB

Contributing

We welcome all contributions to documenting PGM and making it approachable for everyone, regardless of their expertise. This document serves as a guideline to establish a standard when it comes to submitting changes.

Scope

PGM Documentation provides detailed and accurate information about features offered by PGM that mapmakers and server administrators can take advantage of.

Prerequisites

Steps

  1. Clone this repository.
    git clone git@github.com:PGMDev/Website.git
    
  2. Navigate to the repository in the terminal, and then run npm install.
    • You will only need to do this occasionally, especially for package updates.
  3. After installation finishes, run npm start to start a local webserver.
    • You can stop this at any time by pressing Ctrl + C.
  4. Make your changes, which will appear in your web browser.
  5. Commit your changes, using the -S and -s tag to sign and certify the origin of your contributions.
    git commit -S -s -m "A short description of your changes"
  6. Submit changes in a pull request for review and feedback.
  7. Depending on where you host it, you can build the website using npm run build if you intend to upload it yourself or build it and deploy it to GitHub Pages using the Action workflow.
    • Some modifications will be needed to deploy outside the pgm.dev environment.

Pull requests

Before opening a pull request, please:

  • Verify that there is no ongoing discussion concerning the implementation you wish to contribute. You can search for such a discussion in the plugin's repository issues page.
  • Make sure your contribution follows American (US) English grammar rules and spelling, e.g. "color" and not "colour" or "center" and not "centre."
  • If editing pages in the mdx format, try to use Markdown and avoid HTML as much as possible.
  • PGMDev enforces the Developer Certificiate of Origin (DCO). As such, you must sign off your commits.