ktx/docs-site/app/layout.config.tsx
Andrey Avtomonov 795a97485a
feat: add GitHub star nudges to CLI build view and docs sidebar (#271)
* feat: load star count during context builds

* docs: document star prompt opt-out

* fix: initialize demo context star count

* feat(docs-site): add GitHub star count widget to docs sidebar

* test: isolate star-prompt build-view tests from ambient CI env
2026-06-08 16:14:56 +02:00

37 lines
929 B
TypeScript

import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
import { Logo } from "@/components/logo";
import { SlackIcon } from "@/components/slack-icon";
export const baseOptions: BaseLayoutProps = {
nav: {
title: Logo,
transparentMode: "top",
},
links: [
{
type: "menu",
text: "Products",
items: [
{
text: "ktx",
description: "The ktx CLI & toolkit docs",
url: "/docs",
},
{
text: "Kaelio Platform",
description: "Docs for the Kaelio platform",
url: "https://docs.kaelio.com/agent/docs",
external: true,
},
],
},
{
type: "icon",
label: "Join the ktx Slack community",
icon: <SlackIcon />,
text: "Slack",
url: "https://join.slack.com/t/ktxcommunity/shared_invite/zt-3y9b44m1x-LVyNNJD5nwaZHq4XS29LMQ",
external: true,
},
],
};