docs: clarify documentation-only contribution workflow

This commit is contained in:
Muhammad Bin Zohaib authored and GitHub committed 2026-11-18 13:11:09 +01:00
1 parent 818d924eb8
commit 6719c5379b
3 files changed
+42 -3

No files matched your search

+19 -2
View File
@@ -7,15 +7,32 @@ Everyone taking part follows the [code of conduct](CODE_OF_CONDUCT.md).
## Ways to help
- **Create an app connector.** Follow [Creating your own connectors](docs/src/content/docs/contribute/apps/index.md) for MCP, HTTP API, and CLI formats, the AI builder skill, required tests, and approval process. Browse [custom connections](https://nod.n8n.io/docs/connect/community-apps/) for examples.
- **Improve the documentation.** Follow [Write docs](docs/src/content/docs/contribute/write-docs.mdx). You can preview and build the docs site without running Nod.
- **Report a bug** with the [bug report form](https://github.com/n8n-io/nod/issues/new/choose).
- **Ask a question or share an idea** in [Discussions](https://github.com/n8n-io/nod/discussions).
- **Report a vulnerability** privately, as described in the [security policy](SECURITY.md). Never in a public issue.
- **Send a pull request.** App-only contributions that use the supported profile follow the app guide. For other work larger than a small fix, open an issue or discussion first.
## Documentation-only changes
For a docs-only change, you do not need to install or run Nod, start Docker, or connect a model. You need Node.js 24.21.0 or newer and pnpm 10.34.5 installed. From the repository root, install the docs dependencies and start the site:
```sh
pnpm --dir docs install --frozen-lockfile
pnpm --dir docs dev
```
Open `http://localhost:4321/docs/` to preview your changes. Before opening a pull request, build the site and check its internal links:
```sh
pnpm --dir docs build
```
See [Write docs](docs/src/content/docs/contribute/write-docs.mdx) for the house style and page guidance.
## Set up and check
Follow [Install from source](docs/src/content/docs/get-started/install-from-source.mdx), then run Nod with automatic reload:
For application changes, follow [Install from source](docs/src/content/docs/get-started/install-from-source.mdx), then run Nod with automatic reload:
```sh
pnpm run dev
+21 -1
View File
@@ -1,6 +1,6 @@
---
title: Contribute to Nod
description: Report a problem, set up a development copy of Nod, find your way around the code and get a change merged.
description: Choose a contribution path, set up Nod or the docs site, and prepare a change for review.
sidebar:
label: Overview
order: 1
@@ -21,10 +21,30 @@ To add an app connection, start with [Creating your own connectors](/contribute/
| Report a bug | Fill in the [bug report form](https://github.com/n8n-io/nod/issues/new/choose). |
| Ask a question or share an idea | Start a thread in [Discussions](https://github.com/n8n-io/nod/discussions). |
| Report a vulnerability | [Report it privately](https://github.com/n8n-io/nod/security/advisories/new). Never in a public issue. |
| Improve the documentation | Follow [Write docs](/contribute/write-docs/) to edit, preview and build the docs site without running Nod. |
| Fix or build something | Send a [pull request](/contribute/pull-requests/). Use the [app guide](/contribute/apps/) for app folders. Open an issue or discussion first for other work larger than a small fix. |
App-only contributions that use the supported profile follow the [app guide](/contribute/apps/). Other work larger than a small fix starts with an issue or discussion. Agreeing on the approach first saves you from building something that can't merge.
## Work on documentation only
You do not need to install or run the Nod app, start Docker, or connect a model to change the docs. The docs site has its own lockfile. Use Node.js 24.21.0 or newer and pnpm 10.34.5.
From the repository root, install the docs dependencies and start the site:
```sh title="Terminal"
pnpm --dir docs install --frozen-lockfile
pnpm --dir docs dev
```
Open `http://localhost:4321/docs/` in your browser. Before you open a pull request, build the site. The build checks internal links and heading anchors:
```sh title="Terminal"
pnpm --dir docs build
```
See [Write docs](/contribute/write-docs/) for the page template, house style, components and diagrams. Use the full development setup below only when your change needs the Nod application.
## Set up a development copy
<Steps>
@@ -25,6 +25,8 @@ The short version: write for a busy person who has never seen Nod's code. Lead w
The docs are an [Astro Starlight](https://starlight.astro.build) site in the `docs` folder. It has its own lockfile, like `desktop`.
For a documentation-only change, use Node.js 24.21.0 or newer and pnpm 10.34.5. You do not need the app dependencies, Docker, a running Nod instance, or a model connection.
<Steps>
1. Install the docs dependencies.