Skip to main content
Every ecge project requires an ecge.config.json file in the root directory. This file defines your project’s core settings.

Properties

name
string
required
The name of your project. Used as the global title and in metadata.Example: "my-app"
navigation
Navigation[]
required
An array of groups defining the pages in your sidebar navigation.
Path to a logo image, or an object with separate light and dark mode logos.
favicon
string
Path to the favicon image.
colors
Colors
Hex color codes for your project’s theme.
Links displayed in the top navigation bar.
topbarCtaButton
Call to Action
A call-to-action button in the top bar.
versions
string[]
Version names for a version selector dropdown in the navigation bar.
api
API
Configuration for API playground settings.
openapi
string | string[]
URL(s) or relative path(s) to your OpenAPI specification file(s).Examples:
"openapi": "https://api.ecge.dev/openapi.json"
Social media links displayed in the footer.Example:
{
  "github": "https://github.com/ecge",
  "x": "https://x.com/ecge"
}
modeToggle
ModeToggle
Dark mode toggle configuration.