Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
📝 docs: add deprecation notice (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored Oct 26, 2024
1 parent 33a85aa commit 5520f7a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@

**文档戳这里啦 → [bilili の可愛い自己紹介](https://bilili.nyakku.moe)**

如果想要体验 v2 请戳这里 → [yutto<sup>2.0.0-rc</sup>](https://github.com/yutto-dev/yutto)
> [!WARNING]
>
> 由于 B 站近期 API 的变动较大,导致 bilili 部分功能无法正常使用,相关问题已在 v2 版本([yutto](https://github.com/yutto-dev/yutto))中修复,限于个人精力,无法同时维护两个版本,所以建议大家尽快迁移至 v2 版本,感谢大家一直以来对 bilili 的支持~
## 特性

Expand Down
6 changes: 6 additions & 0 deletions docs/.vuepress/components/DeprecationNotice.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<template>
<span>
bilili 已经停止维护,请尽快迁移到 V2(<a href="https://github.com/yutto-dev/yutto">yutto</a
>),感谢大家一直以来的支持!
</span>
</template>
1 change: 1 addition & 0 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export default defineConfig4CustomTheme<ThemeConfig>({
'thanks',
],
},
status: '<DeprecationNotice />',
repo: 'yutto-dev/bilili',
docsDir: 'docs',
docsBranch: 'main',
Expand Down

0 comments on commit 5520f7a

Please sign in to comment.