Files
pruefwerk/docs/.vitepress/theme/index.ts
T
sharang bf24fb3370
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 53s
docs: a German home and getting started for Maschinenbauer (#405)
2026-09-26 08:25:10 +00:00

21 lines
677 B
TypeScript

// The default VitePress theme in the BreakPilot platform look: palette, type
// and surfaces in custom.css, the BreakPilot wordmark in the navbar, and a
// custom home page (HomePage.vue) used from docs/index.md.
import { h } from 'vue'
import DefaultTheme from 'vitepress/theme'
import type { Theme } from 'vitepress'
import HomePage from './components/HomePage.vue'
import Wordmark from './components/Wordmark.vue'
import './custom.css'
export default {
extends: DefaultTheme,
Layout: () =>
h(DefaultTheme.Layout, null, {
'nav-bar-title-after': () => h(Wordmark),
}),
enhanceApp({ app }) {
app.component('HomePage', HomePage)
},
} satisfies Theme