- Replace TLAS with License Authority throughout documentation - Add Government of Goa emblem/logo (Ashoka Chakra style) - Update frontend branding to match documentation - Add configurable Swagger API link via VITE_API_BASE_URL env var - Fix Docker build for VitePress (git dependency, .dockerignore) - Fix helmet security headers for HTTP deployments - Add CORS support for VM deployment Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
138 lines
4.7 KiB
TypeScript
138 lines
4.7 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
|
|
export default defineConfig({
|
|
title: 'License Authority | Govt of Goa',
|
|
description: 'Government of Goa - Blockchain-Powered License Management Platform',
|
|
|
|
head: [
|
|
['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }],
|
|
['meta', { name: 'theme-color', content: '#0f172a' }],
|
|
['meta', { name: 'og:type', content: 'website' }],
|
|
['meta', { name: 'og:site_name', content: 'License Authority Documentation' }],
|
|
],
|
|
|
|
lastUpdated: true,
|
|
cleanUrls: true,
|
|
appearance: true,
|
|
ignoreDeadLinks: ['/api/docs'],
|
|
|
|
themeConfig: {
|
|
darkModeSwitchLabel: 'Theme',
|
|
darkModeSwitchTitle: 'Switch to dark mode',
|
|
lightModeSwitchTitle: 'Switch to light mode',
|
|
logo: '/logo.svg',
|
|
siteTitle: 'License Authority',
|
|
|
|
nav: [
|
|
{ text: 'Overview', link: '/overview/' },
|
|
{ text: 'Business', link: '/business/' },
|
|
{ text: 'Operations', link: '/operations/' },
|
|
{ text: 'Departments', link: '/departments/' },
|
|
{ text: 'Developers', link: '/developers/' },
|
|
{ text: 'Compliance', link: '/compliance/' }
|
|
],
|
|
|
|
sidebar: {
|
|
'/overview/': [
|
|
{
|
|
text: 'Platform Overview',
|
|
items: [
|
|
{ text: 'Introduction', link: '/overview/' },
|
|
{ text: 'Problem Statement', link: '/overview/problem' },
|
|
{ text: 'Solution Architecture', link: '/overview/solution' },
|
|
{ text: 'Key Capabilities', link: '/overview/capabilities' },
|
|
{ text: 'Technology Stack', link: '/overview/technology' }
|
|
]
|
|
}
|
|
],
|
|
'/business/': [
|
|
{
|
|
text: 'Business Documentation',
|
|
items: [
|
|
{ text: 'Executive Summary', link: '/business/' },
|
|
{ text: 'Value Proposition', link: '/business/value-proposition' },
|
|
{ text: 'Process Flows', link: '/business/process-flows' },
|
|
{ text: 'Governance Model', link: '/business/governance' },
|
|
{ text: 'Implementation Roadmap', link: '/business/roadmap' }
|
|
]
|
|
}
|
|
],
|
|
'/operations/': [
|
|
{
|
|
text: 'Operations Guide',
|
|
items: [
|
|
{ text: 'Deployment Overview', link: '/operations/' },
|
|
{ text: 'Infrastructure Requirements', link: '/operations/infrastructure' },
|
|
{ text: 'Installation Guide', link: '/operations/installation' },
|
|
{ text: 'Configuration', link: '/operations/configuration' },
|
|
{ text: 'Monitoring & Alerts', link: '/operations/monitoring' },
|
|
{ text: 'Backup & Recovery', link: '/operations/backup' },
|
|
{ text: 'Security Hardening', link: '/operations/security' }
|
|
]
|
|
}
|
|
],
|
|
'/departments/': [
|
|
{
|
|
text: 'Department User Guide',
|
|
items: [
|
|
{ text: 'Getting Started', link: '/departments/' },
|
|
{ text: 'Application Processing', link: '/departments/processing' },
|
|
{ text: 'Workflow Management', link: '/departments/workflows' },
|
|
{ text: 'Document Verification', link: '/departments/verification' },
|
|
{ text: 'License Issuance', link: '/departments/issuance' },
|
|
{ text: 'Reporting & Analytics', link: '/departments/reporting' }
|
|
]
|
|
}
|
|
],
|
|
'/developers/': [
|
|
{
|
|
text: 'Developer Guide',
|
|
items: [
|
|
{ text: 'API Overview', link: '/developers/' },
|
|
{ text: 'Authentication', link: '/developers/authentication' },
|
|
{ text: 'Core APIs', link: '/developers/core-apis' },
|
|
{ text: 'Blockchain APIs', link: '/developers/blockchain-apis' },
|
|
{ text: 'Webhooks', link: '/developers/webhooks' },
|
|
{ text: 'SDKs & Libraries', link: '/developers/sdks' },
|
|
{ text: 'Error Handling', link: '/developers/errors' }
|
|
]
|
|
}
|
|
],
|
|
'/compliance/': [
|
|
{
|
|
text: 'Compliance & Standards',
|
|
items: [
|
|
{ text: 'Overview', link: '/compliance/' },
|
|
{ text: 'Data Protection', link: '/compliance/data-protection' },
|
|
{ text: 'Audit Framework', link: '/compliance/audit' },
|
|
{ text: 'Security Standards', link: '/compliance/security' },
|
|
{ text: 'Regulatory Alignment', link: '/compliance/regulatory' }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
footer: {
|
|
message: 'An Initiative of the Government of Goa, India',
|
|
copyright: '© 2026 Government of Goa. All rights reserved.'
|
|
},
|
|
|
|
search: {
|
|
provider: 'local'
|
|
},
|
|
|
|
outline: {
|
|
level: [2, 3],
|
|
label: 'Contents'
|
|
}
|
|
},
|
|
|
|
markdown: {
|
|
theme: {
|
|
light: 'github-light',
|
|
dark: 'github-dark'
|
|
},
|
|
lineNumbers: true
|
|
}
|
|
})
|