Skip to content

Contribution Guide

To contribute to the Remnawave Reverse-proxy project, you need to have Node.js and npm installed on your system. You can download and install them from the Node.js official website.

If you haven’t already, install git on your system. You can find installation instructions on the git official website and downloads page on git-scm.com.

  1. To get started, clone the Remnawave Reverse-proxy repository to your local machine.

    Terminal window
    git clone https://github.com/eGamesAPI/remnawave-reverse-proxy
  2. Navigate to the project directory

    Terminal window
    cd remnawave-reverse-proxy/docs
  1. Before you can build the documentation, you need to install the necessary dependencies. Run the following command in the docs directory.

    Terminal window
    npm install
  2. To build the documentation locally, run:

    Terminal window
    npm run dev

This will start a local development server, and you can view the documentation at http://localhost:4321.

Built with Starlight

Inside of your Astro + Starlight project, you’ll see the following folders and files:

  • Directorydocs documentation source files
    • Directorypublic/
    • Directorysrc
      • Directoryassets/
        • Directoryen/
        • Directoryru/
      • Directorycomponents/
      • Directorycontent/docs root (en) documentation files
        • index.mdx
        • Directoryru/ i18n files
          • index.mdx
      • Directorystyles/
      • content.config.ts
  • astro.config.mjs
  • package.json
  • tsconfig.json

Starlight looks for .md or .mdx files in the src/content/docs/ directory. Each file is exposed as a route based on its file name.

Images can be added to src/assets/ and embedded in Markdown with a relative link.

Static assets, like favicons, can be placed in the public/ directory.

All commands are run from the root of the project, from a terminal:

CommandAction
npm installInstalls dependencies
npm run devStarts local dev server at localhost:4321
npm run buildBuild your production site to ./dist/
npm run previewPreview your build locally, before deploying
npm run astro ...Run CLI commands like astro add, astro check
npm run astro -- --helpGet help using the Astro CLI

Check out Starlight’s docs, read the Astro documentation, or jump into the Astro Discord server.