A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/CachyOS/wiki below:

GitHub - CachyOS/wiki: Wiki for CachyOS

This repository contains the source code of our wiki page.

Tip

Please take a look at our TODO list or other opened issues for what things to work on.

  1. Fork this repository so you have your own copy of this repository.
  2. Clone the forked repository to your computer.
git clone https://github.com/<your-username>/wiki
  1. To commit your changes, create a new branch. Do not commit directly to the master branch, regardless of whether it's your own fork.
git checkout -b <new-branch>
  1. Now you can start editing the files you see fit.

  2. Commit your changes.

git add <modified-files> # Alternatively you can use git add -A for all files or git add -u for untracked files
git commit # For a simple commit message, you can do git commit -m "Commit Message"
git push origin <new-branch>
bun install # Install dependencies used by our wiki
bun run dev # Runs a local copy of the wiki, complete with your modifications!

bun run build # Builds the wiki for production to make sure everything works as expected
bun run preview # Preview the production build (lunaria might show an error if there are uncommitted changes, this is normal)

Finally, you can open a pull request to get your changes reviewed and hopefully merged.

Happy contributing!

We are always open to community members adding new translations to the wiki. This helps immensely for non-English speakers.

You can use the localization tracker at https://wiki.cachyos.org/localization to see the status of our existing translations.

Firstly, you need to add your language to the list of available locales to the site. This is done in lunaria.config.json. Please refer to the ISO 639-1 list of language codes.

Next, you can start adding your own translations. To do this, add a subdirectory to src/content/docs with your two-letter language code.

├── astro.config.mjs
├── src
│   └── content
│       └── i18n
│           └── xx.json # Your language code
│       └── docs
│           ├── cachyos_basic
│           │   ├── download.mdx
│           │   └── why_cachyos.md
│           └── xx # Your language code
│               └── cachyos_basic
│                   ├── download.mdx
│                   └── why_cachyos.md
└── tsconfig.json

Now you can start adding your own translations!.

As a final step, you want your translated page to be indexed, this is done again in our astro.config.mjs

// astro.config.mjs

    {
        label: 'Why CachyOS?',
        translations: {
        xx: '<why-cachyos-in-yourlanguage>',
        },
        link: 'cachyos_basic/why_cachyos',
    },

Please refer to our basic guide for committing and pushing changes. When you're done, you can open a pull request

Happy translating!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4