Initial commit

This commit is contained in:
2026-05-19 22:27:43 +08:00
commit 2ee120f756
33 changed files with 11949 additions and 0 deletions

42
env.example Normal file
View File

@@ -0,0 +1,42 @@
# VitePress Docker Configuration
# Copy this file to .env and configure your settings
# ==============================================================================
# Port Configuration
# ==============================================================================
# VitePress documentation server port (external:internal)
VITEPRESS_PORT=3000
# API server port for PDF export (external:internal)
API_PORT=3001
# ==============================================================================
# Directory Configuration
# ==============================================================================
# Path to your VitePress documentation directory
# This directory should contain:
# - index.md (home page)
# - .vitepress/ (configuration)
# - guide/, getting-started/, etc. (documentation folders)
#
# Example: ./docs or absolute path like /home/user/docs
DOCS_DIR=./docs
# ==============================================================================
# PDF Export Configuration
# ==============================================================================
# PDF output will be saved to: ${DOCS_DIR}/dist-pdf/
# ==============================================================================
# Advanced Configuration
# ==============================================================================
# Node environment
NODE_ENV=production
# Puppeteer configuration (for PDF export)
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium