agricultural-sock-amalysis/docs/public/config/site.en.yaml

76 lines
1.9 KiB
YAML

# 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://gitea.shenjianl.cn/shenjianZ/agricultural-sock-amalysis"
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"