SKID Security Research Documentation
This directory contains the VitePress-based documentation site for the Estonia Cyber Fraud Research project. It builds automatically to GitHub Pages.
Quick Start
bash
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewVisit http://localhost:5173 to view the documentation during development.
Project Structure
.
├── .vitepress/
│ └── config.ts # VitePress configuration
├── 01-core-research/ # Primary research documents
├── 02-technical-security/ # Security measures and vulnerabilities
├── 03-regulatory-framework/ # Laws, acts, and regulations
├── 04-regulatory-memoranda/ # Formal memoranda to authorities
├── 05-enforcement/ # Regulatory enforcement analysis
├── 06-supplementary-research/ # Supporting research papers
├── 07-opinion-editorials/ # Editorials and expert opinions
├── public/ # Static assets (logos, favicons)
├── index.md # Home page
├── README.md # This file
└── package.jsonContent Organization
The documentation is organized into several main sections (numbered for logical ordering):
- Core Research (
01-core-research/): Primary research examining Smart-ID security architecture - Technical Security (
02-technical-security/): Security measures and vulnerability assessments - Regulatory Framework (
03-regulatory-framework/): Laws, acts, and regulatory standards - Regulatory Memoranda (
04-regulatory-memoranda/): Formal memoranda submitted to Estonian authorities (RIA, TTJA, AKI) - Enforcement (
05-enforcement/): Regulatory enforcement strategy and analysis - Supplementary Research (
06-supplementary-research/): Supporting documents, fraud evolution analysis - Opinion & Editorials (
07-opinion-editorials/): Expert perspectives and editorial analysis
Each section has its own directory with markdown files that automatically appear in the sidebar navigation.
Adding New Research Files
- Create a markdown file in the appropriate content folder
- Add frontmatter with title (optional):markdown
--- title: Your Document Title --- - The file will automatically appear in the sidebar and be accessible at the corresponding path
Configuration
VitePress Config
The main configuration is in .vitepress/config.ts. This controls:
- Site title and description
- Navigation menu
- Sidebar structure for each section
- Search configuration
- Theme settings
Theme
VitePress uses the default theme with custom navigation. The site supports dark mode automatically.
Deployment
The site is automatically deployed to GitHub Pages via GitHub Actions when changes are pushed to the main branch. The workflow:
- Installs dependencies
- Builds the site with
npm run build - Deploys the
.vitepress/dist/directory to GitHub Pages
Content Features
- Search: Built-in local search functionality
- Responsive: Works on all device sizes
- Dark Mode: Automatic dark/light theme based on system preference
- Table of Contents: Automatic page outline generation
- Code Highlighting: Syntax highlighting for code blocks
- Clean URLs: SEO-friendly URL structure
Technical Stack
- VitePress: Static site generator
- TypeScript: For configuration type safety
- Markdown: Content format
- GitHub Pages: Hosting platform
- GitHub Actions: CI/CD automation
Notes
- Clean URLs are enabled (
cleanUrls: true) - Search uses local provider for privacy
- Build output goes to
.vitepress/dist/ - Links between pages should use paths without
.htmlextensions