mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 09:06:10 +08:00
✨ 添加贡献者展示组件,并更新项目文档以感谢贡献者
This commit is contained in:
parent
9ba4f0cfa1
commit
3600b62176
23
docs/components/ContributorsBar.vue
Normal file
23
docs/components/ContributorsBar.vue
Normal file
@ -0,0 +1,23 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
const contributorImgSrc = `https://contrib.rocks/image?repo=LiteyukiStudio/nonebot-plugin-marshoai`
|
||||
const contributorsUrl = `https://github.com/LiteyukiStudio/nonebot-plugin-marshoai/graphs/contributors`
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="contributor-bar">
|
||||
<a :href="contributorsUrl">
|
||||
<div class="contributor-list">
|
||||
<img :src=contributorImgSrc alt="Contributors">
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.contributor-bar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
@ -39,3 +39,11 @@ pre-commit install # 安装 pre-commit 钩子
|
||||
- [`Google Docstring`](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html) 文档规范
|
||||
|
||||
可以在编辑器中安装相应的插件进行辅助
|
||||
|
||||
## 其他
|
||||
|
||||
感谢以下的贡献者们:
|
||||
|
||||
<ContributorsBar />
|
||||
|
||||
<script setup> import ContributorsBar from '../../components/ContributorsBar.vue' </script>
|
Loading…
x
Reference in New Issue
Block a user