feat: add configuration backup, sync, and version checker services

- Implemented ConfigBackupService for backing up local configuration files.
- Added ConfigSyncService to download configuration files from GitHub with remote-first conflict resolution.
- Created VersionChecker to check application version against the latest GitHub release with caching.
- Introduced security validation utilities for input validation to prevent common vulnerabilities.
- Developed utility functions to start and stop Docusaurus documentation server.
This commit is contained in:
catlog22
2026-02-05 17:32:31 +08:00
parent 834951a08d
commit 5cfeb59124
265 changed files with 8714 additions and 1408 deletions

View File

@@ -12,21 +12,28 @@ export default {
"organizationName": "ccw",
"projectName": "docs",
"trailingSlash": false,
"onBrokenLinks": "throw",
"onBrokenLinks": "warn",
"i18n": {
"defaultLocale": "en",
"locales": [
"en",
"zh"
],
"path": "i18n",
"localeConfigs": {}
"localeConfigs": {
"zh": {
"label": "简体中文",
"htmlLang": "zh-CN"
}
},
"path": "i18n"
},
"presets": [
[
"@docusaurus/preset-classic",
{
"docs": {
"path": "docs",
"routeBasePath": "/",
"sidebarPath": "./sidebars.ts",
"editUrl": "https://github.com/ccw/docs/tree/main/"
},