From 944bf37935b482db3656e720d97fddca6d5638a7 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 25 Jun 2024 14:40:45 +0800 Subject: [PATCH] chore: add extension-definitions.yaml (#134) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加扩展定义描述文件,以便后续在 Halo 中展示或者启用具体的扩展点。 /kind feature ```release-note 添加扩展定义描述文件,以便后续在 Halo 中展示或者启用具体的扩展点。 ``` --- src/main/resources/extensions/extension-definitions.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/resources/extensions/extension-definitions.yaml diff --git a/src/main/resources/extensions/extension-definitions.yaml b/src/main/resources/extensions/extension-definitions.yaml new file mode 100644 index 0000000..c1f69b3 --- /dev/null +++ b/src/main/resources/extensions/extension-definitions.yaml @@ -0,0 +1,9 @@ +apiVersion: plugin.halo.run/v1alpha1 +kind: ExtensionDefinition +metadata: + name: default-comment-widget +spec: + className: run.halo.comment.widget.DefaultCommentWidget + extensionPointName: comment-widget + displayName: "默认评论组件" + description: "Halo 默认提供的评论组件插件"