mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
2.4 KiB
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.mddescribing the functionality of the relevant node. - An image file named
workflow.pngshowing a screenshot of the Start node connected to the relevant node.
- A text file named
- Credentials: Create a directory with the name of the node at
docs/nodes/credentials/containing:- A text file called
README.mddescribing how to obtain credentials for the relevant node.
- A text file called
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.
- In the node documentation README.md
- 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.