Thanks for contributing to the xfetch website. This
repository contains the Next.js site (src/) and the rendered
documentation (docs/) in three languages: English
(en), Spanish (es) and German (de).
- Fork the repository and create a feature branch.
- Make your change in
src/(site code) and/ordocs/<lang>/(documentation). -
Run the CI locally before opening the PR:
bash scripts/ci.sh(Linux/macOS) or./scripts/ci.ps1(Windows). It runsnpm run lintandnpm run build. PRs that fail CI are rejected. - Open a pull request.
- Three languages. Every documentation page exists in
en,esandde. A change to one language must be mirrored in the other two — pages missing in a language are not rendered. - Source of truth is the repos. The docs describe the other xfetch repositories (xfetch, plugins, extensions, themes, configs). Verify config keys, commands and behaviors against the code before documenting them; keep the pages as adaptations, not verbatim copies.
- Keep the markdown structure of the page (title, sections, tables) so titles, descriptions and the summary stay consistent.
- No emojis in documentation; use Nerd Font glyphs or plain text where icons are needed.
- Update
docs/<lang>/SUMMARY.mdwhen adding or removing pages.
- Run
npm run lintbefore committing; fix warnings, do not disable rules without a comment explaining why. - Keep the docs renderer (
src/app/docs/,src/lib/docs.ts) dependency-light: markdown is rendered withreact-markdown+remark-gfm. - No unused imports or dead props — the docs pages are statically generated, keep them deterministic.
Be respectful, constructive, and collaborative. Harassment, trolling, and personal attacks are not tolerated.