Move developer docs to docs/devs

docs/ now holds the documents for people running a cluster, and
docs/devs/ holds the ones for Clusterio and plugin developers. Links
to the moved files are updated across the repository.

Adds an Audiences decision recording which document covers what.

Part of #1254

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 authored and Cooldude2606 committed 2026-11-22 15:26:00 +00:00
1 parent 0190394a99
commit 95f808a02f
15 files changed
+59 -47

No files matched your search

+7 -7
View File
@@ -2,13 +2,13 @@
Clusterio manages distributed Factorio servers through a controller, hosts, and plugins.
Read [contributing](docs/contributing.md) for the project map, setup, commands, debugging, tests, and code style.
For PR reviews, follow the [review guide](docs/pr-review-guide.md), including its candidate ledger and final evidence audit.
Read [contributing](docs/devs/contributing.md) for the project map, setup, commands, debugging, tests, and code style.
For PR reviews, follow the [review guide](docs/devs/pr-review-guide.md), including its candidate ledger and final evidence audit.
Use the detailed guides for the affected area:
- [Communication and routing](docs/communication.md), [wire protocol](docs/devs/protocol.md), and [configuration](docs/config-system.md).
- [Plugins](docs/writing-plugins.md), [plugin migration](docs/devs/plugin-migration-to-2.0.md), and [Factorio/Lua](docs/developing-for-clusterio.md).
- [Compatibility policies](docs/decisions.md) and [releases](docs/release-workflow.md).
- [Communication and routing](docs/devs/communication.md), [wire protocol](docs/devs/protocol.md), and [configuration](docs/devs/config-system.md).
- [Plugins](docs/devs/writing-plugins.md), [plugin migration](docs/devs/plugin-migration-to-2.0.md), and [Factorio/Lua](docs/devs/developing-for-clusterio.md).
- [Compatibility policies](docs/devs/decisions.md) and [releases](docs/devs/release-workflow.md).
## Working rules
@@ -20,7 +20,7 @@ Use the detailed guides for the affected area:
Update affected documentation in the same change.
- Follow nearby code and `.oxlintrc.json`: tabs, double quotes, semicolons, and `.js` extensions in relative TypeScript imports.
Import shared public APIs through `@clusterio/lib` and check Node/browser exports when changing them.
- Run commands from the root using the pinned pnpm version and the [documented Node requirements](docs/contributing.md#supported-nodejs-and-factorio-versions).
- Run commands from the root using the pinned pnpm version and the [documented Node requirements](docs/devs/contributing.md#supported-nodejs-and-factorio-versions).
Install with `pnpm install --no-frozen-lockfile`; the lockfile is intentionally ignored.
- `pnpm build` compiles TypeScript.
It does not regenerate validators or production web bundles; use the appropriate package's `prepare` script.
@@ -30,7 +30,7 @@ Use the detailed guides for the affected area:
The harness needs Factorio, recreates `temp/test/`, and shares ports 8880/4443; do not run competing suites.
- Report checks, failures, skips, and unverified behavior precisely.
Documentation-only changes need path, command, and formatting checks.
- Preview cleanup with `node scripts/clean.js --dry-run`; see the [cleanup scopes](docs/contributing.md#cleaning-generated-and-runtime-files).
- Preview cleanup with `node scripts/clean.js --dry-run`; see the [cleanup scopes](docs/devs/contributing.md#cleaning-generated-and-runtime-files).
Runtime-data deletion and release publication require explicit authorization.
Keep local configs, credentials, runtime data, and generated output out of commits.
- Follow the [PR template](.github/pull_request_template.md), including `### Changelog` (`None.` when appropriate).