Skip to content

Commit

Permalink
修了点无关紧要的不遵守排版指北的用语
Browse files Browse the repository at this point in the history
  • Loading branch information
Big-Cake-jpg committed Aug 13, 2023
1 parent 23e64b1 commit c02742b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/.vitepress/theme/components/Contributors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const contributors = computed(() => {
function getAvatarUrl(name: string) {
return `https://cdn.crashmc.com/https://github.com/${name}.png`
}
function getGithubLink(name: string) {
function getGitHubLink(name: string) {
return `https://github.com/${name}`
}
function isNotEmpty(arr: string | string[]) {
Expand All @@ -31,7 +31,7 @@ function isNotEmpty(arr: string | string[]) {
:key="contributor"
class="flex gap-2 items-center vp-main-color">
<a
:href="getGithubLink(contributor)"
:href="getGitHubLink(contributor)"
rel="noreferrer"
target="_blank"
class="flex items-center gap-2">
Expand All @@ -42,7 +42,7 @@ function isNotEmpty(arr: string | string[]) {
</div>
<div v-else class="flex gap-2 items-center">
<a
:href="getGithubLink(defaultAuthor)"
:href="getGitHubLink(defaultAuthor)"
rel="noreferrer"
target="_blank"
class="flex items-center gap-2">
Expand Down
12 changes: 6 additions & 6 deletions docs/contribute/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ contributors: [HRxiaohu]

### 修改渲染器 <LauncherBadge type="hmcl" text="仅 HMCL" />

```MarkDown
```md
### 修改渲染器 <LauncherBadge type="hmcl" text="仅 HMCL" />
```

Expand All @@ -38,7 +38,7 @@ contributors: [HRxiaohu]

### 重置核心 <LauncherBadge type="bakaxl" text="仅 BakaXL" />

```MarkDown
```md
### 重置核心 <LauncherBadge type="bakaxl" text="仅 BakaXL" />
```

Expand All @@ -48,21 +48,21 @@ contributors: [HRxiaohu]

### 修改验证服务器 <LauncherBadge type="pcl" text="仅 PCL2" />

```MarkDown
```md
### 修改验证服务器 <LauncherBadge type="pcl" text="仅 PCL2" />
```

:::

在您完成文档修改后,请在 MarkDown 文档的最上方修改 contributors FrontMatter,以将您的 Github 用户名添加到贡献者列表,格式如下。
在您完成文档修改后,请在 Markdown 文档的最上方修改 contributors Frontmatter,以将您的 GitHub 用户名添加到贡献者列表,格式如下。

```MarkDown
```md
---
contributors: [用户名, 用户名, 用户名]
---
```

:::warning 警告
- 请一定要使用 Github 用户名署名,否则我们无法获取您的头像。
- 请一定要使用 GitHub 用户名署名,否则我们无法获取您的头像。
- 上述代码中所使用的均为英文半角逗号!
:::

0 comments on commit c02742b

Please sign in to comment.