# Eagle0pedia Site

Eagle0pedia is a Starlight static site. CI validates it through Bazel, while
DigitalOcean App Platform builds and hosts it directly as a static site.

## Local Build

```bash
bazel build //docs/eagle0pedia:site
```

The generated site is written to:

```text
bazel-bin/docs/eagle0pedia/dist
```

## Deployment

Eagle0pedia is hosted by DigitalOcean App Platform as a static site. Use these
component settings:

```text
Resource type: Static Site
Source directory: docs/eagle0pedia
Build command: corepack enable && pnpm install --frozen-lockfile && pnpm build
Output directory: dist
HTTP route: /
Domain: pedia.eagle0.net
```

The App Platform build uses the normal Starlight package scripts:

```text
npm run build
```

Set this App Platform environment variable:

```text
ASTRO_TELEMETRY_DISABLED=1
```

CI still validates the Bazel build:

```text
bazel build //docs/eagle0pedia:site
```
