first commit
This commit is contained in:
120
docs/public/config/site.yaml
Normal file
120
docs/public/config/site.yaml
Normal 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"
|
||||
Reference in New Issue
Block a user