Bug reports, ideas and pull requests are welcome. Open an issue to report a bug or suggest a feature. For a security problem, please report it privately through the repository's Security tab instead.
- Set up a development environment with docs/development.
- Run
make testandmake lintbefore you push. CI only runs when started by hand. - Keep each pull request to one change, and link the issue it closes.
- Using an AI coding agent? AGENTS.md (also loaded through
CLAUDE.md) gives it these rules.
Documentation lives in docs/ and changes in the same pull request as the code.
| Your change | Update |
|---|---|
| Adds, removes or renames a setting (environment variable) | A row in docs/self-hosting/configuration.md, and .env.example if admins are likely to set it |
| Adds an optional part that runs on your own server (a service, a browser, a worker) | A page in docs/self-hosting/ |
| Adds an outside service that needs an account or a key | A page in docs/integrations/, or a new section in an existing page for another provider of the same thing |
| Adds a management command admins run, or content they install | docs/self-hosting/content.md, or the scheduled tasks in docs/self-hosting/README.md |
Changes docker-compose.yml, deploy/nginx.conf or deploy/*.service, or needs a manual step on upgrade |
A version note in docs/self-hosting/upgrading.md |
| Changes the code layout or adds a backend app | docs/development/architecture.md |
| Only changes the editor, with nothing for admins to do | No docs needed. Add it to the feature list in the README if it's a notable feature |
make docs-check (part of make lint) fails when a setting in the code, either .env.example or
docker-compose.yml is missing from configuration.md.
- The folders are fixed.
self-hosting/is for what runs on your servers,integrations/for outside services,development/for working on the code. A new feature adds a file, not a folder. - Name pages after what they do, e.g.
stock-media.md, never after a provider or an issue number. - Each fact lives in one place. Setting names and defaults are only in
configuration.md; other pages link to it instead of repeating them. - Don't rename or move published pages, so links in issues and elsewhere keep working.
- Pages in
integrations/and optional parts inself-hosting/share one layout: What it does → Requirements → Turn it on → Settings → Check it works → Troubleshooting. - Write for someone setting Doory up: commands they can copy, the defaults, and how to check that it works.
Name the services Doory works with where an admin needs to know them, but don't recommend one over another;
use
example.comaddresses in examples.