Skip to content

Commit 1b300db

Browse files
committed
docs: improve readme guideline
1 parent 7d6b9d8 commit 1b300db

File tree

5 files changed

+104
-119
lines changed

5 files changed

+104
-119
lines changed

.github/workflows/branch-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Merge Branch
22

33
on:
44
push:
5-
branches: [ imgbot ]
5+
branches: [imgbot]
66

77
jobs:
88
merge-branch:
@@ -14,4 +14,4 @@ jobs:
1414
github_token: ${{ github.token }}
1515
source_ref: ${{ github.ref }}
1616
target_branch: main
17-
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'
17+
commit_message_template: "[Automated] Merged {source_ref} into {target_branch}"

.github/workflows/sync.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ name: Sync
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Sync to Gitee
12-
uses: wearerequired/git-mirror-action@master
13-
env:
11+
- name: Sync to Gitee
12+
uses: wearerequired/git-mirror-action@master
13+
env:
1414
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
15-
with:
15+
with:
1616
source-repo: [email protected]:doocs/doocs.github.io.git
1717
destination-repo: [email protected]:Doocs/doocs.git
1818

19-
- name: Build Gitee Pages
20-
uses: yanglbme/gitee-pages-action@master
21-
with:
19+
- name: Build Gitee Pages
20+
uses: yanglbme/gitee-pages-action@master
21+
with:
2222
gitee-username: yanglbme
2323
gitee-password: ${{ secrets.GITEE_PASSWORD }}
2424
gitee-repo: doocs/doocs
25-
branch: main
25+
branch: main

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Introduction
22

3-
[![GitHub](https://badgen.net/badge/icon/doocs?icon=github&label&color=green)](https://github.com/doocs)
4-
[![license](https://badgen.net/github/license/doocs/doocs.github.io?color=green)](https://github.com/doocs/doocs.github.io/blob/main/LICENSE)
3+
[![github](https://badgen.net/badge/>>/GitHub/cyan)](https://github.com/doocs/doocs.github.io)
4+
[![gitee](https://badgen.net/badge/>>/Gitee/cyan)](https://gitee.com/doocs/doocs)
55
[![doocs-open-source-organization](https://badgen.net/badge/organization/join%20us/cyan)](#how-to-join)
66
[![gitter](https://badgen.net/badge/gitter/chat/cyan)](https://gitter.im/doocs)
7+
[![license](https://badgen.net/github/license/doocs/doocs.github.io?color=green)](https://github.com/doocs/doocs.github.io/blob/main/LICENSE)
78

89
Hello, everyone! Welcome to the [Doocs](https://github.com/doocs) Open Source organization. The name is originated from ‘Docs’, which mainly shares various development-related knowledge in the form of documents.
910

@@ -17,10 +18,11 @@ See the [中文文档](README_CN.md) for Chinese README.
1718

1819
## Owner
1920

20-
[Yang Libin](https://github.com/yanglbme), a backend developer.
21+
[Yang Libin](https://github.com/yanglbme), focus on the inner workings of web applications to build out the "server-side" of web applications.
2122

2223
- Wechat: YLB0109
2324
25+
- Gitee: https://gitee.com/yanglbme
2426
- GitHub: https://github.com/yanglbme
2527

2628
## Projects
@@ -30,7 +32,7 @@ Doocs now has the following hot projects:
3032

3133
| # | Project | Description | Popularity |
3234
| --- | --- | --- | --- |
33-
| 1 | [advanced-java](https://github.com/doocs/advanced-java) | The advanced knowledge of Java developer, covering high concurrency, distributed systems, high availability, microservice, massive data processing, etc. | ![](https://badgen.net/github/stars/doocs/advanced-java) <br>![](https://badgen.net/github/forks/doocs/advanced-java) |
35+
| 1 | [advanced-java](https://github.com/doocs/advanced-java) | Core interview questions & answers for experienced Java(Backend) evelopers. | ![](https://badgen.net/github/stars/doocs/advanced-java) <br>![](https://badgen.net/github/forks/doocs/advanced-java) |
3436
| 2 | [leetcode](https://github.com/doocs/leetcode) | LeetCode solutions in any programming language. | ![](https://badgen.net/github/stars/doocs/leetcode) <br>![](https://badgen.net/github/forks/doocs/leetcode) |
3537
| 3 | [source-code-hunter](https://github.com/doocs/source-code-hunter) | Source code analysis of frameworks and components. | ![](https://badgen.net/github/stars/doocs/source-code-hunter) <br>![](https://badgen.net/github/forks/doocs/source-code-hunter) | ![](https://badgen.net/github/stars/doocs/coding-interview) <br>![](https://badgen.net/github/forks/doocs/source-code-hunter) |
3638
| 4 | [jvm](https://github.com/doocs/jvm) | A summary of the underlying principles of Java Virtual Machine. | ![](https://badgen.net/github/stars/doocs/jvm) <br>![](https://badgen.net/github/forks/doocs/jvm) |
@@ -44,7 +46,7 @@ Doocs now has the following hot projects:
4446
4547
I believe many of you have a deep understanding that participating in open source projects is very helpful for personal growth. If you love open source or you are curious about it, join Doocs, work with us, maintain our projects and grow together. You can join us in the following two ways:
4648

47-
- Communicate directly on the [issues](https://github.com/doocs/doocs.github.io/issues/1) of this project.
49+
- Comment on [#1](https://github.com/doocs/doocs.github.io/issues/1) and tell us you want to join.
4850
- Send an email to [[email protected]](mailto:[email protected]?Subject=Join%20the%20Doocs%20Open%20Source%20organization) and attach your GitHub ID, such as [yanglbme](https://github.com/yanglbme).
4951

5052
By default, your Doocs membership will be hidden from view aftering joining us. If you'd like to display the organization icon in your profile, you can switch from "Private" to "Public" here: https://github.com/orgs/doocs/people. We also recommend setting it to Public.

README_CN.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# 介绍
22

3-
[![GitHub](https://badgen.net/badge/icon/doocs?icon=github&label&color=green)](https://github.com/doocs)
4-
[![license](https://badgen.net/github/license/doocs/doocs.github.io?color=green)](https://github.com/doocs/doocs.github.io/blob/main/LICENSE)
3+
[![github](https://badgen.net/badge/>>/GitHub/cyan)](https://github.com/doocs/doocs.github.io)
4+
[![gitee](https://badgen.net/badge/>>/Gitee/cyan)](https://gitee.com/doocs/doocs)
55
[![doocs-open-source-organization](https://badgen.net/badge/organization/join%20us/cyan)](#如何加入)
66
[![gitter](https://badgen.net/badge/gitter/chat/cyan)](https://gitter.im/doocs)
7+
[![license](https://badgen.net/github/license/doocs/doocs.github.io?color=green)](https://github.com/doocs/doocs.github.io/blob/main/LICENSE)
78

89
你好,欢迎来到 [Doocs](https://github.com/doocs) 开源组织。Doocs 名字取自 Docs,主要是以文档的形式分享各种开发相关知识。
910

@@ -17,11 +18,12 @@
1718

1819
## 发起人
1920

20-
[杨立滨](https://github.com/yanglbme)专注于互联网后端开发
21+
[杨立滨](https://github.com/yanglbme)专注于互联网后端领域
2122

2223
- 微信: YLB0109
2324
24-
- 同性交友账号: https://github.com/yanglbme
25+
- Gitee:https://gitee.com/yanglbme
26+
- GitHub: https://github.com/yanglbme
2527

2628
## 项目
2729

@@ -45,7 +47,7 @@
4547

4648
如果你热爱开源,或者抱着一颗好奇的心,不妨加入 [Doocs](https://github.com/doocs) 组织,和我们一起维护项目,共同成长。可以通过以下两种方式加入:
4749

48-
- 直接在[此项目](https://github.com/doocs/doocs.github.io)[issue](https://github.com/doocs/doocs.github.io/issues/1) 上交流
50+
- 直接在[此项目](https://github.com/doocs/doocs.github.io)[issue](https://github.com/doocs/doocs.github.io/issues/1) 上评论,告知我们你想加入 Doocs
4951
- 发送邮件到 [[email protected]](mailto:[email protected]?Subject=加入Doocs开源组织),写明你的 GitHub ID,如 [yanglbme](https://github.com/yanglbme)
5052

5153
默认情况下,在你加入我们之后,你作为 GitHub Doocs 组织成员的信息是处于隐藏状态的。如果你希望在你的个人 GitHub 资料页上展示 Doocs 组织,你可以在此链接 https://github.com/orgs/doocs/people 处将你的信息从 `private`**私有**”改为 `public`**公开**”。当然,我们推荐设置为**公开**

index.html

Lines changed: 79 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,83 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<title>Welcome to join the Doocs Open Source organization</title>
6-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7-
<meta name="description" content="Doocs's Home" />
8-
<meta
9-
name="viewport"
10-
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
11-
/>
12-
<link
13-
rel="stylesheet"
14-
href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"
15-
/>
16-
<link
17-
rel="stylesheet"
18-
href="//cdn.jsdelivr.net/npm/[email protected]/dist/style.css"
19-
/>
20-
<link
21-
rel="stylesheet"
22-
href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css"
23-
/>
24-
<link
25-
rel="icon"
26-
type="image/png"
27-
sizes="32x32"
28-
href="images/favicon-32x32.png"
29-
/>
30-
<link
31-
rel="icon"
32-
type="image/png"
33-
sizes="16x16"
34-
href="images/favicon-16x16.png"
35-
/>
36-
</head>
37-
<body>
38-
<nav>
39-
<ul>
40-
<li><a href="#README_CN">中文</a></li>
41-
<li><a href="#">En</a></li>
42-
</ul>
43-
</nav>
44-
<div id="app">欢迎来到 Doocs 开源社区</div>
45-
<script>
46-
window.$docsify = {
47-
name: "Doocs",
48-
// repo: 'doocs/doocs.github.io',
49-
logo: "/images/favicon-32x32.png",
50-
auto2top: true,
51-
search: ["/"],
52-
darkMode: {
53-
light: {
54-
toggleBtnBg: "#42b983",
55-
},
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<title>Welcome to join the Doocs Open Source organization</title>
7+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
8+
<meta name="description" content="Doocs's Home" />
9+
<meta name="viewport"
10+
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
11+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" />
12+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/dist/style.css" />
13+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css" />
14+
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png" />
15+
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png" />
16+
</head>
17+
18+
<body>
19+
<nav>
20+
<ul>
21+
<li><a href="#README_CN">中文</a></li>
22+
<li><a href="#">En</a></li>
23+
</ul>
24+
</nav>
25+
<div id="app">欢迎来到 Doocs 开源社区</div>
26+
<script>
27+
window.$docsify = {
28+
name: "Doocs",
29+
logo: "/images/favicon-32x32.png",
30+
auto2top: true,
31+
search: ["/"],
32+
darkMode: {
33+
light: {
34+
toggleBtnBg: "#42b983",
35+
},
36+
},
37+
plugins: [
38+
function (hook) {
39+
var footer = [
40+
"<hr/>",
41+
"<footer>",
42+
'<span>Copyright © 2018-2021 <a href="https://github.com/doocs" target="_blank">Doocs</a>. All rights reserved.',
43+
"</footer>",
44+
].join("");
45+
46+
hook.afterEach(function (html) {
47+
return html + footer;
48+
});
5649
},
57-
plugins: [
58-
function (hook) {
59-
var footer = [
60-
"<hr/>",
61-
"<footer>",
62-
'<span>Copyright © 2018-2020 <a href="https://github.com/doocs" target="_blank">Doocs</a>. All rights reserved.',
63-
"</footer>",
64-
].join("");
50+
],
51+
};
52+
</script>
53+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
54+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-c.min.js"></script>
55+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-bash.min.js"></script>
56+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-cpp.min.js"></script>
57+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-json.min.js"></script>
58+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-java.min.js"></script>
59+
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-python.min.js"></script>
60+
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
61+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.js"></script>
62+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.js"></script>
63+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.js"></script>
64+
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
65+
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
66+
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/index.js"></script>
67+
<script>
68+
const gitalk = new Gitalk({
69+
clientID: "88a228f7139b31216822",
70+
clientSecret: "d2c7e7c11b91d2e0f3d7ed3ed1ab1b2c08ad5591",
71+
repo: "doocs.github.io",
72+
owner: "doocs",
73+
admin: ["yanglbme"],
74+
number: 1,
75+
distractionFreeMode: true,
76+
labels: ["talk"],
77+
title: "Welcome to join the Doocs Open Source organization",
78+
perPage: 15,
79+
});
80+
</script>
81+
</body>
6582

66-
hook.afterEach(function (html) {
67-
return html + footer;
68-
});
69-
},
70-
],
71-
};
72-
</script>
73-
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
74-
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-c.min.js"></script>
75-
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-bash.min.js"></script>
76-
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-cpp.min.js"></script>
77-
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-json.min.js"></script>
78-
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-java.min.js"></script>
79-
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-python.min.js"></script>
80-
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
81-
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.js"></script>
82-
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.js"></script>
83-
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.js"></script>
84-
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
85-
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
86-
<script src="//cdn.jsdelivr.net/npm/[email protected]/dist/index.js"></script>
87-
<script>
88-
const gitalk = new Gitalk({
89-
clientID: "88a228f7139b31216822",
90-
clientSecret: "d2c7e7c11b91d2e0f3d7ed3ed1ab1b2c08ad5591",
91-
repo: "doocs.github.io",
92-
owner: "doocs",
93-
admin: ["yanglbme"],
94-
number: 1,
95-
distractionFreeMode: true,
96-
labels: ["talk"],
97-
title: "Welcome to join the Doocs Open Source organization",
98-
perPage: 15,
99-
});
100-
</script>
101-
</body>
102-
</html>
83+
</html>

0 commit comments

Comments
 (0)