Skip to content

Commit 5ae5bec

Browse files
committed
docs: move the Spanish code of conduct under docs/es
GitHub's community profile detection picked CODE_OF_CONDUCT.es.md as THE code of conduct and reported it as key=other/name=Other, instead of recognising the English file as the Contributor Covenant. Rotating the translation into docs/es/code-of-conduct.md restores correct detection and matches the existing docs/es convention used for the other translated guides. Cross-references updated in CONTRIBUTING (both languages) and the pull request template.
1 parent a1cdc01 commit 5ae5bec

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

‎.github/pull_request_template.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- [ ] Regression test added that fails before this change (bug fixes)
1818
- [ ] `CHANGELOG.md` updated under `## [Unreleased]`
1919
- [ ] Docs updated in both languages: `README.md`/`docs/*` and `README.es.md`/`docs/es/*`
20-
(plus `SECURITY`/`CONTRIBUTING`/`CODE_OF_CONDUCT` pairs when they are affected)
20+
(plus `SECURITY.es.md`/`CONTRIBUTING.es.md`/`docs/es/code-of-conduct.md` when affected)
2121
- [ ] No secrets, keys, personal paths or private hosts in code, tests, docs or logs
2222

2323
## Guarantees affected

‎CODE_OF_CONDUCT.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributor Covenant Code of Conduct
22

3-
**English** | [Espanol](CODE_OF_CONDUCT.es.md)
3+
**English** | [Espanol](docs/es/code-of-conduct.md)
44

55
## Our Pledge
66

‎CONTRIBUTING.es.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ Mantene los commits atomicos: un cambio logico mas sus tests. Cada commit debe p
8181
antes del fix.
8282
- Actualiza `CHANGELOG.md` bajo `## [Unreleased]`.
8383
- La documentacion vive en dos idiomas: `README.md` + `docs/*.md` (ingles) y
84-
`README.es.md` + `docs/es/*.md` (espanol), mas los pares de los archivos de comunidad
85-
(`SECURITY`, `CONTRIBUTING`, `CODE_OF_CONDUCT`). Los cambios de comportamiento deben
86-
reflejarse en ambos, o decilo explicitamente en el PR para que quede registrado.
84+
`README.es.md` + `docs/es/*.md` (espanol), mas los archivos de comunidad traducidos
85+
(`docs/es/code-of-conduct.md`, `SECURITY.es.md`, `CONTRIBUTING.es.md`). Los cambios de
86+
comportamiento deben reflejarse en ambos, o decilo explicitamente en el PR para que
87+
quede registrado.
8788

8889
## Agregar un hook o una regla nueva
8990

‎CONTRIBUTING.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ Keep commits atomic: one logical change plus its tests. Every commit must pass
8080
- Add or update tests. Bug fixes need a regression test that fails before the fix.
8181
- Update `CHANGELOG.md` under `## [Unreleased]`.
8282
- Docs live in two languages: `README.md` + `docs/*.md` (English) and
83-
`README.es.md` + `docs/es/*.md` (Spanish), plus the community file pairs
84-
(`SECURITY`, `CONTRIBUTING`, `CODE_OF_CONDUCT`). Behaviour changes must be reflected
85-
in both, or say so explicitly in the PR so it can be tracked.
83+
`README.es.md` + `docs/es/*.md` (Spanish), plus the translated community files
84+
(`docs/es/code-of-conduct.md`, `SECURITY.es.md`, `CONTRIBUTING.es.md`). Behaviour
85+
changes must be reflected in both, or say so explicitly in the PR so it can be
86+
tracked.
8687

8788
## Adding a new hook or rule
8889

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codigo de Conducta del Contributor Covenant
22

3-
[English](CODE_OF_CONDUCT.md) | **Espanol**
3+
[English](../../CODE_OF_CONDUCT.md) | **Espanol**
44

55
## Nuestro compromiso
66

0 commit comments

Comments
 (0)