--- /** * Override of Starlight's Footer. * Renders the default per-page footer (pagination / meta) followed by the * site-wide footer (brand + link columns). The Agentation overlay is * enabled for local development and explicitly enabled preview builds. */ import Default from '@astrojs/starlight/components/Footer.astro'; import AgentationDev from './AgentationDev'; import { getDocsProduct } from '../data/docs-products'; const repo = 'https://github.com/obsessiondb/chkit'; const isIngestion = getDocsProduct(Astro.locals.starlightRoute.id) === 'ingestion'; const docLinks = isIngestion ? [ { href: '/sync/', label: 'Sync overview' }, { href: '/api-sync/quickstart/', label: 'Get started' }, { href: '/integrations/', label: 'Apps & integrations' }, { href: '/sync/cli/', label: 'CLI reference' }, { href: '/api-sync/operations/', label: 'Scheduling & recovery' }, ] : [ { href: '/getting-started/', label: 'Get started' }, { href: '/cli/overview/', label: 'CLI reference' }, { href: '/configuration/overview/', label: 'Configuration' }, { href: '/schema/dsl-reference/', label: 'Schema reference' }, ]; --- {(import.meta.env.DEV || import.meta.env.PUBLIC_AGENTATION_ENABLED === 'true') && }