Files
pruefwerk/docs/.vitepress/config.mts
T
sharangandClaude Opus 5.5 5ea49661d0
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Dashboard (push) Successful in 7m8s
CI / Deploy Agent (push) Successful in 9m1s
fix(dashboard): CRA links read as technical hints, not a legal assessment (#978) (#981)
The scan phase "CRA-Anforderungen zuordnen" could read as legal advice.
It is now "Bezug zu CRA-Themen ermitteln (technischer Hinweis)"; the
finding detail says "CRA-Themen, auf die dieser Befund hinweist" and
"CRA-Themen (Anhang I)"; the CRA status page and the CRA tiles say
"Technische Hinweise, keine rechtliche Bewertung". The docs use the
same wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:02:53 +00:00

111 lines
4.3 KiB
TypeScript

import { defineConfig } from 'vitepress'
import { withMermaid } from 'vitepress-plugin-mermaid'
// `head` entries are not base-prefixed, so the favicon carries `/docs/`.
const BASE = '/docs/'
export default withMermaid(defineConfig({
// Served under https://pruefwerk-<env>.breakpilot.com/docs/ (orca route
// /docs/* on the dashboard host, prefix not stripped).
base: BASE,
lang: 'de-DE',
title: 'Prüfwerk',
description: 'CRA-Nachweise aus Ihrem Quellcode',
head: [
['link', { rel: 'icon', type: 'image/svg+xml', href: `${BASE}logo.svg` }],
// Geist and Geist Mono are self-hosted (theme/custom.css), no font CDN.
],
ignoreDeadLinks: [
/localhost/,
],
// Internal design notes and release test plans live next to the docs but
// are not published.
srcExclude: ['design/**', 'release/**'],
themeConfig: {
logo: '/logo.svg',
// The navbar shows the BreakPilot wordmark instead (theme/components/Wordmark.vue).
siteTitle: false,
nav: [
{ text: 'Erste Schritte', link: '/guide/getting-started' },
{ text: 'Handbuch', link: '/guide/repositories' },
{ text: 'Referenz', link: '/reference/glossary' },
],
sidebar: [
{
text: 'Einstieg',
items: [
{ text: 'Erste Schritte', link: '/guide/getting-started' },
{ text: 'Demo-Prüfobjekte', link: '/guide/demo-targets' },
],
},
{
text: 'Prüfen',
items: [
{ text: 'Prüfobjekte anlegen', link: '/guide/repositories' },
{ text: 'Prüfungen', link: '/guide/scanning' },
{ text: 'SPS / PLC (CODESYS)', link: '/guide/plc' },
{ text: 'Embedded Linux / Yocto', link: '/guide/yocto' },
{ text: '.NET-Projekte', link: '/guide/dotnet' },
{ text: '.NET projects (English)', link: '/guide/dotnet-en' },
{ text: 'Befunde', link: '/guide/findings' },
{ text: 'Befunde aus manuellen Tests', link: '/guide/manual-findings' },
{ text: 'Stückliste (SBOM) und Lizenzen', link: '/guide/sbom' },
{ text: 'Schwachstellen bewerten (VEX)', link: '/guide/vex' },
{ text: 'Assessing vulnerabilities (English)', link: '/guide/vex-en' },
{ text: 'Bezug zu CRA-Themen', link: '/features/control-mapping' },
{ text: 'Daten und Aufbewahrung', link: '/guide/data-retention' },
],
},
{
text: 'Oberfläche und Anbindung',
items: [
{ text: 'Übersicht', link: '/features/overview' },
{ text: 'Hilfe-Assistent', link: '/features/help-chat' },
{ text: 'MCP-Schnittstelle', link: '/features/mcp-server' },
{ text: 'API-Schlüssel', link: '/guide/api-keys' },
{ text: 'Tickets', link: '/guide/issues' },
{ text: 'Webhooks und PR-Reviews', link: '/guide/webhooks' },
{ text: 'Managed Git anbinden', link: '/guide/managed-git' },
{ text: 'Connecting Managed Git (English)', link: '/guide/managed-git-en' },
{ text: 'Getting Started (English)', link: '/guide/getting-started-en' },
],
},
{
text: 'Referenz',
items: [
{ text: 'Glossar', link: '/reference/glossary' },
{ text: 'Werkzeuge', link: '/reference/tools' },
{ text: 'SPS-Laufzeitumgebungen', link: '/reference/plc-runtimes' },
],
},
{
text: 'Weitere Funktionen (nicht im Pilotumfang)',
collapsed: true,
items: [
{ text: 'DAST Scanning', link: '/features/dast' },
{ text: 'AI Pentest', link: '/features/pentest' },
{ text: 'Pentest Architecture', link: '/features/pentest-architecture' },
{ text: 'AI Chat', link: '/features/ai-chat' },
{ text: 'Code Knowledge Graph', link: '/features/graph' },
{ text: 'Finding Deduplication', link: '/features/deduplication' },
],
},
],
footer: {
message: 'Prüfwerk von BreakPilot',
},
outline: { label: 'Auf dieser Seite' },
docFooter: { prev: 'Zurück', next: 'Weiter' },
darkModeSwitchLabel: 'Darstellung',
lightModeSwitchTitle: 'Zum hellen Modus wechseln',
darkModeSwitchTitle: 'Zum dunklen Modus wechseln',
sidebarMenuLabel: 'Menü',
returnToTopLabel: 'Nach oben',
},
// Code blocks sit on the dark "Nacht" ground in both themes.
markdown: {
theme: 'github-dark',
},
mermaid: {},
}))