From 84816ef7695c96be65f796ccb58805bc7b2ff48f Mon Sep 17 00:00:00 2001
From: Li Kui <90845831+likui628@users.noreply.github.com>
Date: Wed, 28 Aug 2024 20:43:24 +0800
Subject: [PATCH] chore: add badges (#4260)
* chore: add badges
* docs: fix editLink
---
README.ja-JP.md | 2 ++
README.md | 2 ++
README.zh-CN.md | 2 ++
docs/.vitepress/config/en.mts | 3 ++-
4 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/README.ja-JP.md b/README.ja-JP.md
index a4e9de0a..093585d8 100644
--- a/README.ja-JP.md
+++ b/README.ja-JP.md
@@ -5,6 +5,8 @@
Vue Vben Admin
+[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=vbenjs_vue-vben-admin&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=vbenjs_vue-vben-admin) ![codeql](https://github.com/vbenjs/vue-vben-admin/actions/workflows/codeql.yml/badge.svg) ![build](https://github.com/vbenjs/vue-vben-admin/actions/workflows/build.yml/badge.svg) ![ci](https://github.com/vbenjs/vue-vben-admin/actions/workflows/ci.yml/badge.svg) ![deploy](https://github.com/vbenjs/vue-vben-admin/actions/workflows/deploy.yml/badge.svg)
+
**日本語** | [English](./README.md) | [中文](./README.zh-CN.md)
## 紹介
diff --git a/README.md b/README.md
index 5540234a..0f58308c 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,8 @@
Vue Vben Admin
+[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=vbenjs_vue-vben-admin&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=vbenjs_vue-vben-admin) ![codeql](https://github.com/vbenjs/vue-vben-admin/actions/workflows/codeql.yml/badge.svg) ![build](https://github.com/vbenjs/vue-vben-admin/actions/workflows/build.yml/badge.svg) ![ci](https://github.com/vbenjs/vue-vben-admin/actions/workflows/ci.yml/badge.svg) ![deploy](https://github.com/vbenjs/vue-vben-admin/actions/workflows/deploy.yml/badge.svg)
+
**English** | [中文](./README.zh-CN.md) | [日本語](./README.ja-JP.md)
## Introduction
diff --git a/README.zh-CN.md b/README.zh-CN.md
index bcda0087..3c586bd5 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -5,6 +5,8 @@
Vue Vben Admin
+[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=vbenjs_vue-vben-admin&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=vbenjs_vue-vben-admin) ![codeql](https://github.com/vbenjs/vue-vben-admin/actions/workflows/codeql.yml/badge.svg) ![build](https://github.com/vbenjs/vue-vben-admin/actions/workflows/build.yml/badge.svg) ![ci](https://github.com/vbenjs/vue-vben-admin/actions/workflows/ci.yml/badge.svg) ![deploy](https://github.com/vbenjs/vue-vben-admin/actions/workflows/deploy.yml/badge.svg)
+
**中文** | [English](./README.md) | [日本語](./README.ja-JP.md)
## 简介
diff --git a/docs/.vitepress/config/en.mts b/docs/.vitepress/config/en.mts
index 811d432e..2a986994 100644
--- a/docs/.vitepress/config/en.mts
+++ b/docs/.vitepress/config/en.mts
@@ -13,7 +13,8 @@ export const en = defineConfig({
prev: 'Previous Page',
},
editLink: {
- pattern: 'https://github.com/vuejs/vitepress/edit/main/docs/src/:path',
+ pattern:
+ 'https://github.com/vbenjs/vue-vben-admin/edit/main/docs/src/:path',
text: 'Edit this page on GitHub',
},
footer: {