/** * Tools profile — AI-CLI comparison content with volatility + sources. * * Reference consumer: book-template-astro. Schema + inferred type live in * src/schemas.ts; this module composes with routes + styles. */ import { defineProfile } from '../profile-kit.js'; import { toolsChapterSchema } from '../schemas.js'; import { toolsChaptersRenderer } from './renderers/tools-chapters.js'; export type { ToolsChapter } from '../schemas.js'; export const toolsProfile = defineProfile({ name: 'tools', schema: toolsChapterSchema, routes: { references: true, search: true, print: true, chapters: true, // tools profile ships a flat chapter index convergence: true, // tools profile ships convergence dashboard frontmatter: false, // opt-in per book; see #7 tips: false, // v4.3.0 #70: opt-in per book exercises: false, // v4.4.0: opt-in per book practiceExam: false, // v4.17.0 #112: opt-in per book; requires src/content/questions/ glossary: false, // v4.19.0 #115: opt-in per book; requires src/content/glossary/ answers: false, // v4.21.0 #114: opt-in per book; requires src/content/questions/ flashcards: false, // v4.22.0 #116: opt-in per book; requires src/content/glossary/ landing: true, // v4.5.0: auto-inject minimal root landing }, styles: [ 'tokens.css', 'layout.css', 'callouts.css', 'chapter.css', 'typography.css', 'print.css', 'convergence.css', 'tool-filter.css', 'section-map.css', ], chaptersRenderer: toolsChaptersRenderer, // v3.7.0 (#35) — owns /chapters semantics for tools shape });