import type { SystemInfoConfig } from './types'

export const docsConfig: SystemInfoConfig = {
  title: 'Docs System-Info',
  description: 'Dokumentations-Management System.',
  version: '1.0',
  architecture: {
    layers: [
      { title: 'Docs UI', components: ['Markdown Viewer', 'Search Interface', 'Navigation'], color: '#3b82f6' },
      { title: 'Content Engine', components: ['Markdown Parser', 'Syntax Highlighter', 'Link Resolver'], color: '#8b5cf6' },
      { title: 'Storage', components: ['File System', 'Git Integration', 'Version Control'], color: '#10b981' },
      { title: 'Features', components: ['Search Index', 'Auto-Generation', 'Export Tools'], color: '#f59e0b' },
    ],
  },
  features: [
    { name: 'Markdown Rendering', status: 'active', description: 'Rich Markdown Support' },
    { name: 'Code Highlighting', status: 'active', description: 'Syntax Highlighting' },
    { name: 'Full-Text Search', status: 'active', description: 'Dokumentensuche' },
    { name: 'Version History', status: 'planned', description: 'Versionsverwaltung' },
  ],
  roadmap: [
    { phase: 'Phase 1: Core (Q1)', priority: 'high', items: ['Markdown Parser', 'Navigation', 'Search', 'Code Blocks'] },
    { phase: 'Phase 2: Collaboration (Q2)', priority: 'medium', items: ['Comments', 'Suggestions', 'Review System', 'Notifications'] },
    { phase: 'Phase 3: Advanced (Q3)', priority: 'low', items: ['API Docs Generator', 'Multi-Language', 'Export PDF', 'Analytics'] },
  ],
  technicalDetails: [
    { component: 'Parser', technology: 'Marked.js', description: 'Markdown Processing' },
    { component: 'Syntax', technology: 'Prism.js', description: 'Code Highlighting' },
    { component: 'Search', technology: 'Fuse.js', description: 'Fuzzy Search' },
    { component: 'Storage', technology: 'File System + Git', description: 'Content Management' },
  ],
  auditInfo: [
    {
      category: 'Docs Status',
      items: [
        { label: 'Total Documents', value: 'Tracking', status: 'ok' },
        { label: 'Search Index', value: 'Aktiv', status: 'ok' },
        { label: 'Broken Links', value: 'Check', status: 'warning' },
        { label: 'Last Update', value: 'Tracking', status: 'ok' },
      ],
    },
    {
      category: 'Features',
      items: [
        { label: 'Markdown Support', value: 'Aktiv', status: 'ok' },
        { label: 'Code Highlighting', value: 'Aktiv', status: 'ok' },
        { label: 'Search', value: 'Aktiv', status: 'ok' },
        { label: 'Versioning', value: 'Geplant', status: 'warning' },
      ],
    },
  ],
  fullDocumentation: `
<h2>Documentation System</h2>

<h3>1. Uebersicht</h3>
<p>Das Dokumentations-System verwaltet technische Dokumentation in Markdown-Format mit Versionskontrolle und Suchfunktion.</p>

<h3>2. Architektur</h3>
<pre>
┌─────────────────────────────────────────────────────────────────┐
│                      Documentation UI                            │
│  ┌────────────────────────────────────────────────────────────┐ │
│  │                    Markdown Viewer                          │ │
│  │  ┌───────────────────────────────────────────────────────┐ │ │
│  │  │              Rendered Content                          │ │ │
│  │  │                                                        │ │ │
│  │  │    ┌─────────────┐    ┌─────────────┐                 │ │ │
│  │  │    │ Navigation  │    │   Search    │                 │ │ │
│  │  │    └─────────────┘    └─────────────┘                 │ │ │
│  │  └───────────────────────────────────────────────────────┘ │ │
│  └────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────┘
</pre>

<h3>3. Features</h3>
<table>
  <tr><th>Feature</th><th>Status</th><th>Beschreibung</th></tr>
  <tr><td>Markdown</td><td>Aktiv</td><td>GitHub Flavored Markdown</td></tr>
  <tr><td>Code Blocks</td><td>Aktiv</td><td>Syntax Highlighting</td></tr>
  <tr><td>Search</td><td>Aktiv</td><td>Full-Text Search</td></tr>
  <tr><td>Git Integration</td><td>Aktiv</td><td>Version Control</td></tr>
</table>

<h3>4. Markdown Extensions</h3>
<ul>
  <li><strong>Tables:</strong> GitHub-style tables</li>
  <li><strong>Code Blocks:</strong> Syntax highlighting</li>
  <li><strong>Admonitions:</strong> Info, Warning, Danger boxes</li>
  <li><strong>Links:</strong> Auto-linking</li>
</ul>
`,
}
