Skip to content

Commit

Permalink
Initial additions to the list of contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
NiuBoss123 committed Nov 2, 2024
1 parent f8f6e00 commit 0b7798c
Show file tree
Hide file tree
Showing 11 changed files with 283 additions and 57 deletions.
2 changes: 1 addition & 1 deletion blog/2024-06-21-v1-releases.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
slug: v1-releases
title: McPath V1 更新日志
authors: [asforest, NiuBoss123, 1zyao, Mr-Ao-Dragon]
authors: [asforest]
tags: [McPath, releases]
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,42 +1,13 @@
---
slug: v2-releases
title: McPath V2 更新日志
authors: [asforest, NiuBoss123, 1zyao, Mr-Ao-Dragon, Cnzw]
slug: v2-client-releases
title: McPath V2 客户端更新日志
authors: [asforest]
tags: [McPath, releases]
---
## 管理端
### v0.0.10
1. 修复合并时会导致合并包中的元数据体积膨胀的问题

### v0.0.9
1. 修复忽略文件有时候不能成功忽略的问题

### v0.0.8
1. 此版本增加了Linux musl libc版本的打包

### v0.0.7
1. 管理端支持内置服务端的单连接限速功能(基于令牌桶)

### v0.0.6
1. 管理端修复不支持带空格的路径的问题

### v0.0.5
1. 增加自动创建更新记录文件的功能
2. 管理端使用排除规则来替代过滤规则

### v0.0.4
1. 管理端支持交互式命令模式

### v0.0.3
1. 修复打包数据损坏的问题

### v0.0.2
1. 管理端支持revert退回工作空间的修改

### v0.0.1
1. 管理端首个版本
### v0.0.15
1. 新增Linux glibc版本的客户端
2. 修复不带pad的base64字符串无法解码并识别的问题

## 客户端
### v0.0.15
1. 修复webdavs协议连接无法识别的问题

Expand Down
52 changes: 52 additions & 0 deletions blog/2024-10-20-v2-server-releases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
slug: v2-server-releases
title: McPath V2 管理端更新日志
authors: [asforest, Cnzw]
tags: [McPath, releases]
---
### v0.0.15
1. 增加serve命令填写端口的兼容性,老版本使用不会再报错

### v0.0.14
1. 将serve命令的设置从命令参数移动到配置文件中
2. 服务端现在会显示日志的时间戳

### v0.0.13
1. 修复连接断开后,工作协程也无法退出的问题

### v0.0.12
1. 修复管理端的serve命令运行久了之后,会卡住的问题

### v0.0.11
1. 修复内置服务端遇到错误会崩溃的问题

### v0.0.10
1. 修复合并时会导致合并包中的元数据体积膨胀的问题

### v0.0.9
1. 修复忽略文件有时候不能成功忽略的问题

### v0.0.8
1. 此版本增加了Linux musl libc版本的打包

### v0.0.7
1. 管理端支持内置服务端的单连接限速功能(基于令牌桶)

### v0.0.6
1. 管理端修复不支持带空格的路径的问题

### v0.0.5
1. 增加自动创建更新记录文件的功能
2. 管理端使用排除规则来替代过滤规则

### v0.0.4
1. 管理端支持交互式命令模式

### v0.0.3
1. 修复打包数据损坏的问题

### v0.0.2
1. 管理端支持revert退回工作空间的修改

### v0.0.1
1. 管理端首个版本
24 changes: 21 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,25 @@ const config = {
items: [
{
href: '/docs/v1-old/start',
label: 'V1 旧版文档',
label: 'V1 文档',
position: 'left',
},
{
/*{
href: '/docs/v1/start',
label: 'V1 新版文档',
position: 'left',
},
},*/
{
href: '/docs/v2/start',
label: 'V2 文档',
position: 'left',
},
{to: '/blog', label: '更新日志', position: 'left'},
{
href: '/contribute',
label: '贡献者列表',
position: 'right',
},
{
href: 'https://jq.qq.com/?_wv=1027&k=PqAEtn39',
label: 'QQ群',
Expand Down Expand Up @@ -145,6 +150,19 @@ const config = {
},
{
title: '其他',
items: [
{
label: '贡献者列表',
href: '/contribute',
},
{
label: '爱发电',
href: 'https://afdian.com/a/aprilforest',
},
],
},
{
title: '相关链接',
items: [
{
label: 'QQ群',
Expand Down
88 changes: 75 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
"@docusaurus/preset-classic": "^3.4.0",
"@easyops-cn/docusaurus-search-local": "^0.44.0",
"@mdx-js/react": "^3.0.0",
"axios": "^1.7.7",
"clsx": "^2.0.0",
"plugin-image-zoom": "github:flexanalytics/plugin-image-zoom",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.4.0",
Expand Down
6 changes: 3 additions & 3 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ const sidebars = {
{
type: 'doc',
id: 'v1-old/start',
label: 'V1 旧版文档',
label: 'V1 文档',
},
{
/*{
type: 'doc',
id: 'v1/start',
label: 'V1 新版文档',
},
},*/
{
type: 'doc',
id: 'v2/start',
Expand Down
39 changes: 39 additions & 0 deletions src/components/ContributorsList.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import React, { useEffect, useState } from 'react';
import axios from 'axios';
import Link from '@docusaurus/Link';
import styles from './ContributorsList.module.css'; // 创建一个 CSS 模块

const ContributorsList = ({ projectName, repoUrl }) => {
const [contributors, setContributors] = useState([]);

useEffect(() => {
const fetchContributors = async () => {
try {
const response = await axios.get(repoUrl);
setContributors(response.data);
} catch (error) {
console.error(`Error fetching contributors for ${projectName}:`, error);
}
};

fetchContributors();
}, [projectName, repoUrl]);

return (
<div className={styles.container}>
<h2 className={styles.projectTitle}>{projectName}</h2>
<div className={styles.contributorsGrid}>
{contributors.map(contributor => (
<div key={contributor.id} className={styles.contributorItem}>
<Link to={contributor.html_url} target="_blank" rel="noopener noreferrer">
<img src={contributor.avatar_url} alt={contributor.login} className={styles.avatar} />
<div className={styles.contributorName}>{contributor.login}</div>
</Link>
</div>
))}
</div>
</div>
);
};

export default ContributorsList;
Loading

0 comments on commit 0b7798c

Please sign in to comment.