Files
n8n-docs/CONTRIBUTING.md
Tanay Pant 1c1aa9ecaf 💄 Minor edits
2020-07-22 11:34:34 +02:00

2.4 KiB

Contributing

Overview

These are a set of guidelines to contribute to this repository, helping ensure consistency and quality.

Documentation files

  • Main: Create a directory with the name of the node at docs/nodes/nodes-library/nodes/ containing:
    • A text file named README.md describing the functionality of the relevant node.
    • An image file named workflow.png showing a screenshot of the Start node connected to the relevant node.
  • Credentials: Create a directory with the name of the node at docs/nodes/credentials/ containing:
    • A text file called README.md describing how to obtain credentials for the relevant node.

Writing guidelines

  • Follow the structure and writing conventions of the existing documentation. Consistency is the key.
    • In the node documentation README.md
      • Under "Basic Operations", enter the resources and operations exactly as they are named in the nodes.
      • Under "Example Usage", ensure that the link of the relevant node remains empty.
      • Exclude any optional steps from the example usage steps for the relevant node.
      • Create a workflow at n8n.io and use the resulting link in "Example Usage".
      • If there is a relevant n8n Medium article, include it under "Further Reading". The resulting list should be ordered alphabetically. See the Telegram node.
    • In the credentials README.md
      • If there is more than one authentication method, list OAuth first.
      • If there are steps that are necessary but out of the scope of creating a node in n8n, move them to the FAQ section. See the Chargebee Trigger node.
  • Keep your writing as concise as possible.
  • Make sure to include commit messages in this format.

General checklist

The following is a list of common errors that you can use to check your work locally before submitting a PR:

  • Check spelling and grammar. Grammarly is a good tool to help.
  • Check for any broken links.
  • Ensure that branding is correct. For example, "GitHub", not "Github".
  • Ensure that GIFs capture every step of the process at a uniform pace.
  • Ensure all documentation files end with an empty newline.