From 97563a0090bcd13e5f9af90849c4738b3d71185e Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Sun, 23 Jan 2022 13:34:54 +0800 Subject: [PATCH] :bug: fix missing api docs include --- website/docusaurus.config.js | 6 ++++++ website/src/pages/store.mdx | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 05897b4b..ca2cbfde 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -36,6 +36,12 @@ const config = { editUrl: "https://github.com/nonebot/nonebot2/edit/master/website/", showLastUpdateAuthor: true, showLastUpdateTime: true, + exclude: [ + // "**/_*.{js,jsx,ts,tsx,md,mdx}", + // "**/_*/**", + "**/*.test.{js,jsx,ts,tsx}", + "**/__tests__/**", + ], }, sitemap: { changefreq: "daily", diff --git a/website/src/pages/store.mdx b/website/src/pages/store.mdx index 24037f56..a6db2047 100644 --- a/website/src/pages/store.mdx +++ b/website/src/pages/store.mdx @@ -13,6 +13,10 @@ import Bot from "../components/Bot"; # 商店 +:::warning 警告 +商店未带有绿色官方标记的任何适配器、插件均由社区贡献,官方无法对其质量、安全性、可用性负责。 +::: +