From 4c438cf4e4328461d222a1143f5aa43a1752034d Mon Sep 17 00:00:00 2001 From: Asai Neko Date: Sun, 28 Dec 2025 19:13:45 +0800 Subject: [PATCH] Add contributing guide to README Signed-off-by: Asai Neko --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 1f33fa9..11c49c5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,25 @@ # nixcn-cms +## Contribution + +1. **Root docs serve the zh-CN version** _[MUST]_ +2. **Use sign-off via `git commit -s`** _[MUST]_ +3. **Do not modify the `main` branch for any reason** _[MUST]_ +4. **Do not omit the commit subject for any reason** _[MUST]_ +5. **Describe all changes in the commit message** _[MUST]_ +6. **Rebase before submitting patches** _[MUST]_ +7. **Commit message written in english** _[MUST]_ +8. **Use OpenPGP/SSH for commit signing** _[MUST]_ +9. **Split commits for large or multi-part changes** _[OPTION]_ +10. **Have fun contributing :)** _[VERY NECESSARY]_ + +## Toolchain + +- Nix +- Devenv +- Direnv + +## Notice + +1. Client and all nix files use 2 space tab. +2. All Golang files and other configs use 4 space tab.