first commit

This commit is contained in:
2025-06-12 19:37:54 +08:00
parent bb2eb010f7
commit 1c6093fa9a
87 changed files with 18432 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
{
"enabled": true,
"provider": "openai",
"models": {
"openai": {
"modelId": "gpt-3.5-turbo",
"apiKey": "",
"baseUrl": "https://api.openai.com/v1",
"maxTokens": 4000,
"temperature": 0.7
},
"claude": {
"modelId": "claude-3-sonnet-20240229",
"apiKey": "",
"baseUrl": "https://api.anthropic.com",
"maxTokens": 4000,
"temperature": 0.7
},
"gemini": {
"modelId": "gemini-pro",
"apiKey": "",
"baseUrl": "https://generativelanguage.googleapis.com/v1",
"maxTokens": 4000,
"temperature": 0.7
},
"deepseek-v3": {
"modelId": "deepseek-chat",
"apiKey": "",
"baseUrl": "https://api.deepseek.com",
"maxTokens": 4000,
"temperature": 0.7
},
"deepseek-r1": {
"modelId": "deepseek-reasoner",
"apiKey": "",
"baseUrl": "https://api.deepseek.com",
"maxTokens": 4000,
"temperature": 0.7
},
"custom": {
"modelId": "",
"apiKey": "",
"baseUrl": "",
"maxTokens": 4000,
"temperature": 0.7
}
},
"features": {
"chatAssistant": true,
"documentSummary": true,
"codeExplanation": true,
"searchEnhancement": false
},
"ui": {
"position": "bottom-right",
"theme": "auto",
"size": "medium"
}
}

View File

@@ -0,0 +1,76 @@
# Website Configuration
site:
title: "Agricultural Stock Data Analysis System"
description: "Big data-driven agricultural stock data analysis platform"
# Logo formats supported:
# 1. emoji: "🤖"
# 2. image URL: "https://example.com/logo.png"
# 3. local image: "/images/logo.png"
# 4. relative path: "./assets/logo.svg"
logo: "🌾"
author: "Agricultural Stock Platform Team"
# Navigation Bar Configuration
navbar:
items:
- title: "Home"
link: "/"
active: true
- title: "Guide"
link: "/guide"
- title: "GitHub"
link: "https://github.com/agricultural-stock-platform"
external: true
# Sidebar Navigation Configuration
sidebar:
sections:
- title: "System Guide"
path: "/guide"
children:
- title: "Data Collector"
path: "/guide/data-collector"
- title: "Spark Processor"
path: "/guide/spark-processor"
- title: "Backend API"
path: "/guide/backend"
- title: "Frontend Interface"
path: "/guide/frontend"
# Theme Configuration
theme:
# Default theme mode: 'light' | 'dark' | 'auto'
# light: Force light mode
# dark: Force dark mode
# auto: Follow system preference (default)
defaultMode: "auto"
# Allow users to toggle theme (show theme toggle button)
allowToggle: true
# Color Configuration
colors:
primary: "#3b82f6"
secondary: "#64748b"
accent: "#06b6d4"
background: "#ffffff"
surface: "#f8fafc"
text: "#1e293b"
textSecondary: "#64748b"
border: "#e2e8f0"
fonts:
primary: "Inter, -apple-system, BlinkMacSystemFont, sans-serif"
mono: "JetBrains Mono, Consolas, monospace"
# Table of Contents Configuration
toc:
# Maximum heading level to display in TOC (1-6)
maxLevel: 2
# Enable table of contents
enabled: true
# TOC title
title: "On This Page"

View File

@@ -0,0 +1,120 @@
# 网站基本配置
site:
title: "农业股票数据分析系统"
description: "基于大数据技术的农业股票数据分析平台"
# logo支持以下格式
# 1. emoji: "🤖"
# 2. 图片URL: "https://example.com/logo.png"
# 3. 本地图片: "/images/logo.png"
# 4. 相对路径: "./assets/logo.svg"
logo: "🌾"
author: "Agricultural Stock Platform Team"
# 顶部导航配置
navbar:
items:
- title: "首页"
link: "/"
active: true
- title: "指南"
link: "/guide"
- title: "GitHub"
link: "https://github.com/agricultural-stock-platform"
external: true
# 侧边栏导航配置
sidebar:
sections:
- title: "系统指南"
path: "/guide"
children:
- title: "数据采集器"
path: "/guide/data-collector"
- title: "Spark数据处理器"
path: "/guide/spark-processor"
- title: "后端API服务"
path: "/guide/backend"
- title: "前端界面"
path: "/guide/frontend"
# Theme Configuration
theme:
# Default theme mode: 'light' | 'dark' | 'auto'
# light: Force light mode
# dark: Force dark mode
# auto: Follow system preference (default)
defaultMode: "auto"
# Allow users to toggle theme (show theme toggle button)
allowToggle: true
# Color Configuration
colors:
primary: "#3b82f6"
secondary: "#64748b"
accent: "#06b6d4"
background: "#ffffff"
surface: "#f8fafc"
text: "#1e293b"
textSecondary: "#64748b"
border: "#e2e8f0"
success: "#10b981"
warning: "#f59e0b"
error: "#ef4444"
fonts:
primary: "Inter, -apple-system, BlinkMacSystemFont, sans-serif"
mono: "JetBrains Mono, Consolas, Monaco, monospace"
# Layout Configuration
layout:
headerHeight: "60px"
sidebarWidth: "280px"
tocWidth: "240px"
contentMaxWidth: "1200px"
# Table of Contents Configuration
toc:
# Maximum heading level to display in TOC (1-6)
maxLevel: 3
# Enable table of contents
enabled: true
# TOC title
title: "本页目录"
# Show TOC on mobile devices
showOnMobile: false
# Footer Configuration
footer:
enabled: true
copyright: "© 2024 农业股票数据分析系统. All rights reserved."
links:
- title: "系统指南"
link: "/guide"
- title: "GitHub"
link: "https://github.com/agricultural-stock-platform"
external: true
- title: "许可证"
link: "/license"
# Analytics Configuration
analytics:
# Google Analytics
google:
enabled: false
id: ""
# Other analytics providers can be added here
# PWA Configuration
pwa:
enabled: false
name: "农业股票数据分析系统"
shortName: "AgricStock"
description: "基于大数据技术的农业股票数据分析平台"
themeColor: "#3b82f6"
backgroundColor: "#ffffff"