Skip to content

Edit documentation

OpenGateLLM uses Astro Starlight to serve its documentation. Start the local development server with the following command:

  1. Go to the documentation folder

    Terminal window
    cd docs
  2. Install the dependencies

    Terminal window
    npm install
  3. Run the development server

    Terminal window
    npm run dev

    This will:

    • Install the dependencies
    • Launch a development server at http://localhost:4321/
    • Hot-reload changes as you edit files
  4. Edit the documentation

    • astro.config.mjs Astro configuration file
    • Directorysrc
      • Directoryassets Assets folder
        • Directoryicons/ Custom icons SVG folder
      • Directorycontent
        • Directorydocs/ Documentation markdown files folder