From ad9c9eda0d641ae1b2d47f8cf481a2037901dbac Mon Sep 17 00:00:00 2001 From: Andrey Avtomonov Date: Wed, 20 May 2026 14:37:45 +0200 Subject: [PATCH] docs(context-layer): replace "committed" badge with git icon (#183) Swap the small "committed" chip on the two-pillars figure for an inline Git logo + "git" label so the source-of-truth signal reads at a glance. Adds GitIcon component matching the existing GitHubIcon/SlackIcon inline-SVG pattern. Also picks up a Next.js-regenerated next-env.d.ts routes path. --- docs-site/components/git-icon.tsx | 15 +++++++++++++++ .../docs/concepts/the-context-layer.mdx | 18 ++++++++++++++---- docs-site/next-env.d.ts | 2 +- 3 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 docs-site/components/git-icon.tsx diff --git a/docs-site/components/git-icon.tsx b/docs-site/components/git-icon.tsx new file mode 100644 index 00000000..5b46dfd4 --- /dev/null +++ b/docs-site/components/git-icon.tsx @@ -0,0 +1,15 @@ +import type { SVGProps } from "react"; + +export function GitIcon(props: SVGProps) { + return ( + + ); +} diff --git a/docs-site/content/docs/concepts/the-context-layer.mdx b/docs-site/content/docs/concepts/the-context-layer.mdx index 95f5ac80..9f5e3689 100644 --- a/docs-site/content/docs/concepts/the-context-layer.mdx +++ b/docs-site/content/docs/concepts/the-context-layer.mdx @@ -3,6 +3,8 @@ title: The Context Layer description: What a context layer is, why agents need one, and the YAML and Markdown surfaces KTX writes to disk. --- +import { GitIcon } from "@/components/git-icon"; + A context layer is the trusted knowledge surface that sits between your data stack and the agents that query it. It holds the things a database connection can't tell an agent on its own: which metrics are canonical, which joins are @@ -63,8 +65,12 @@ caveat stays anchored to the definition it explains.

{"semantic-layer/**/*.yaml"}

- - {"committed"} + + + {"git"}

@@ -88,8 +94,12 @@ caveat stays anchored to the definition it explains.

{"wiki/**/*.md"}

- - {"committed"} + + + {"git"}

diff --git a/docs-site/next-env.d.ts b/docs-site/next-env.d.ts index 9edff1c7..c4b7818f 100644 --- a/docs-site/next-env.d.ts +++ b/docs-site/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/types/routes.d.ts"; +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.