diff --git a/docs/content/docs/configuration.mdx b/docs/content/docs/configuration.mdx index c5d3dc5..4bf34b7 100644 --- a/docs/content/docs/configuration.mdx +++ b/docs/content/docs/configuration.mdx @@ -87,12 +87,6 @@ search: enabled: true placeholder: Search docs... -footer: - copyright: "© 2026 My Company" - links: - - label: GitHub - href: https://github.com/myorg/myproject - api: - name: REST API spec: ./openapi.yaml @@ -105,9 +99,6 @@ api: header: Authorization placeholder: "Bearer token" -llms: - enabled: true - analytics: enabled: true googleAnalytics: @@ -160,6 +151,8 @@ content: |-------|------|-------------| | `dir` | `string` | Folder name under `content/`. Must be unique. | | `label` | `string` | Display label in navigation and landing pages. | +| `description` | `string` | Optional description shown on landing page cards. | +| `icon` | `string` | Optional icon identifier for landing page cards. | ### latest @@ -296,25 +289,6 @@ search: When enabled, search is accessible via the navbar button or keyboard shortcut `Cmd+K` / `Ctrl+K`. Active version comes from the URL; switching versions scopes the index. -### footer - -Footer content displayed at the bottom of every page. - -```yaml -footer: - copyright: "© 2026 My Company. All rights reserved." - links: - - label: Terms - href: /terms - - label: Privacy - href: /privacy -``` - -| Field | Type | Description | -|-------|------|-------------| -| `copyright` | `string` | Copyright text (left-aligned) | -| `links` | `NavLink[]` | Footer links (right-aligned) | - ### api OpenAPI specification configuration at the top level applies to the latest version (served at `/apis/...`). Version-scoped specs live under each `versions[].api`. @@ -338,25 +312,13 @@ api: | `name` | `string` | API display name | | `spec` | `string` | Path to OpenAPI spec file (JSON or YAML), relative to `chronicle.yaml` | | `basePath` | `string` | URL path prefix for API pages (e.g., `/apis`) | +| `icon` | `string` | Optional icon identifier | | `server.url` | `string` | Base URL for the API server | | `server.description` | `string` | Server description | | `auth.type` | `string` | Authentication type (e.g., `apiKey`, `bearer`) | | `auth.header` | `string` | Header name for auth token | | `auth.placeholder` | `string` | Placeholder text in auth input | -### llms - -Per-version `llms.txt` generation. - -```yaml -llms: - enabled: true -``` - -| Field | Type | Description | Default | -|-------|------|-------------|---------| -| `enabled` | `boolean` | Emit `/llms.txt` and `//llms.txt` | `false` | - ### analytics Analytics integration for tracking page views. diff --git a/packages/chronicle/src/server/App.tsx b/packages/chronicle/src/server/App.tsx index 65117c0..16db22e 100644 --- a/packages/chronicle/src/server/App.tsx +++ b/packages/chronicle/src/server/App.tsx @@ -40,7 +40,7 @@ export function App() { ) : ( - + {isLanding ? : } )}