How to contribute to the portal
This guide covers the full flow to add or edit a portal page: decide where it lives, write it in Spanish and English, and validate it before the MR.
Prerequisites
- Access to the
crehana-team/platform/engineering-docsrepo - Node.js 20 or later
- pnpm (this repo uses pnpm; do not add a second package manager)
Install the dependencies once:
Decide where your page goes
The rule in one sentence: if your content is about one repo, it lives in that repo; if it is about how we all work, it lives here, grouped by genre.
Three rules hold that table up:
- Genre owns the top level. The sections are
guides/,standards/andrepos/. Never a team or an org unit: teams get renamed and URLs break. - Discipline is a leaf, not a root. Backend, frontend, QA and infra appear beneath a topic:
standards/code-review/backend, neverbackend/code-review. - Shared first, split late. Write one page per topic. Split it by discipline when the content genuinely diverges, not before. The topic URL stays the same either way.
Write the page in both languages
The portal serves Spanish at unprefixed URLs and English under /en/. Slugs are identical across languages: always English, ASCII and kebab-case.
-
Create the Spanish page:
-
Create its English counterpart, under the same slug:
-
Write the Spanish body in LATAM Spanish with technical terms in English. The English page is a full translation.
-
Pick one page type and do not mix types. The templates are in page templates.
The build fails when a page exists in one language and not the other, and it names the missing file. Pages aggregated from other repos are exempt: they are served as their source repo wrote them.
Validate before the MR
You should see the three checks pass before Rspress compiles:
A broken build means a dead link, invalid frontmatter, or a page without its counterpart. Fix it before asking for review.
To preview the portal while you write:
Open the MR
The team that owns the topic approves. An MR adding a cross-cutting guide needs approval from the teams that will use it, not only from whoever wrote it.
Troubleshooting
Related
- Portal structure — the sections, the URLs, and what is generated
- Page templates — the anatomy of each page type
- How to register a repo — catalog and aggregation

