From 5f18cf4697ee217f6edd5e49cf422933307126a7 Mon Sep 17 00:00:00 2001 From: krau Date: Fri, 19 Dec 2025 03:46:13 +0000 Subject: [PATCH] deploy: 018ed479498997963b1279833a1cdbe0101f8ca7 --- contribute/index.html | 10 +++++----- sitemap.xml | 2 +- zh/sitemap.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/contribute/index.html b/contribute/index.html index 1011e0b..50bd261 100644 --- a/contribute/index.html +++ b/contribute/index.html @@ -2,7 +2,7 @@ 参与开发 # -在开始之前, 请 Fork 本项目, 并克隆到本地, 并确保 Go 版本 >= 1.23. +在开始之前, 请 Fork 本项目, 并克隆到本地, 安装好 Go 开发环境. 以下是一些贡献代码的指南或建议, 你不必完全遵守, 但将有助于快速 review 并合并你的提交: 新功能请先提交 Issue, 以便讨论设计和实现细节, 并避免因与项目设计不符而被拒绝. @@ -29,7 +29,7 @@ 在 parsers 目录下新建一个包, 编写解析器实现 在 parsers/parser.go 的 init 中注册解析器 -如果使用 JavaScript 编写, 请参考 plugins/example_parser_basic.js 的实现, 并在该文件夹下新建一个 js 文件, 实现你的解析逻辑.">

参与开发

参与开发 -#

在开始之前, 请 Fork 本项目, 并克隆到本地, 并确保 Go 版本 >= 1.23.

以下是一些贡献代码的指南或建议, 你不必完全遵守, 但将有助于快速 review 并合并你的提交:

  • 新功能请先提交 Issue, 以便讨论设计和实现细节, 并避免因与项目设计不符而被拒绝.
  • 使用现代开发工具, 确保提交前格式化代码, 并保持风格一致.
  • 使用语义化提交, 避免提交消息模糊或过于简单.

贡献新存储端 +#

在开始之前, 请 Fork 本项目, 并克隆到本地, 安装好 Go 开发环境.

以下是一些贡献代码的指南或建议, 你不必完全遵守, 但将有助于快速 review 并合并你的提交:

  • 新功能请先提交 Issue, 以便讨论设计和实现细节, 并避免因与项目设计不符而被拒绝.
  • 使用现代开发工具, 确保提交前格式化代码, 并保持风格一致.
  • 使用语义化提交, 避免提交消息模糊或过于简单.

贡献新存储端 #

  1. pkg/enums/storage/storages.go 中添加新的存储端类型, 并运行代码生成
  2. config/storage 目录下定义存储端配置, 并添加到 config/storage/factory.go
  3. storage 目录下新建一个包, 编写存储端实现, 然后在 storage/storage.go 中导入并添加它
  4. 更新文档, 添加配置说明

贡献新解析器 -#

你可以选择使用 Go 编写原生的解析器实现(推荐), 或是使用 JavaScript 以插件的方式实现.

如果使用 Go 编写, 请:

  1. parsers 目录下新建一个包, 编写解析器实现
  2. parsers/parser.goinit 中注册解析器

如果使用 JavaScript 编写, 请参考 plugins/example_parser_basic.js 的实现, 并在该文件夹下新建一个 js 文件, 实现你的解析逻辑.

需要注意, plugins 目录下解析器默认不会被编译到二进制文件中, 用户需要手动下载它们并放到本地指定目录下以启用它们.

+#

你可以选择使用 Go 编写原生的解析器实现(推荐), 或是使用 JavaScript 以插件的方式实现.

如果使用 Go 编写, 请:

  1. parsers 目录下新建一个包, 编写解析器实现
  2. parsers/parser.goinit 中注册解析器

如果使用 JavaScript 编写, 请参考 plugins/example_parser_basic.js 的实现, 并在该文件夹下新建一个 js 文件, 实现你的解析逻辑.

需要注意, plugins 目录下解析器默认不会被编译到二进制文件中, 用户需要手动下载它们并放到本地指定目录下以启用它们.

\ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index f45bcf4..5f61d1a 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://sabot.unv.app/zh/sitemap.xml2025-12-19T10:44:38+08:00https://sabot.unv.app/en/sitemap.xml2025-12-04T22:59:23+08:00 \ No newline at end of file +https://sabot.unv.app/zh/sitemap.xml2025-12-19T11:45:52+08:00https://sabot.unv.app/en/sitemap.xml2025-12-04T22:59:23+08:00 \ No newline at end of file diff --git a/zh/sitemap.xml b/zh/sitemap.xml index 45c3777..4742cd0 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -1 +1 @@ -https://sabot.unv.app/deployment/2025-06-16T15:58:03+08:00https://sabot.unv.app/usage/2025-08-23T20:42:51+08:00https://sabot.unv.app/help/2025-06-16T15:58:03+08:00https://sabot.unv.app/contribute/2025-08-23T20:42:51+08:00https://sabot.unv.app/categories/https://sabot.unv.app/tags/https://sabot.unv.app/deployment/installation/2025-12-18T18:43:57+08:00https://sabot.unv.app/deployment/configuration/storages/2025-12-19T10:44:38+08:00https://sabot.unv.app/2025-12-04T22:59:23+08:00https://sabot.unv.app/deployment/configuration/2025-12-18T18:44:12+08:00 \ No newline at end of file +https://sabot.unv.app/deployment/2025-06-16T15:58:03+08:00https://sabot.unv.app/usage/2025-08-23T20:42:51+08:00https://sabot.unv.app/help/2025-06-16T15:58:03+08:00https://sabot.unv.app/contribute/2025-12-19T11:45:52+08:00https://sabot.unv.app/categories/https://sabot.unv.app/tags/https://sabot.unv.app/deployment/installation/2025-12-18T18:43:57+08:00https://sabot.unv.app/deployment/configuration/storages/2025-12-19T10:44:38+08:00https://sabot.unv.app/2025-12-04T22:59:23+08:00https://sabot.unv.app/deployment/configuration/2025-12-18T18:44:12+08:00 \ No newline at end of file