This is an automated email from the ASF dual-hosted git repository.
wutao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus-website.git
The following commit(s) were added to refs/heads/master by this push:
new 94e542a refactor community page, add mail subscription manual
94e542a is described below
commit 94e542a9a7cb38ce17f2f7a2627ea3f91b7c01a4
Author: neverchanje <[email protected]>
AuthorDate: Mon Aug 3 21:43:55 2020 +0800
refactor community page, add mail subscription manual
---
_community/index.md | 67 +++++++++++++++-------------------
_community/mail-subscribe.md | 81 +++++++++++++++++++++++++++++++++++++++++
_layouts/community.html | 86 +++++++++++++++++++++++++++++++++++++-------
_sass/_layout.scss | 4 +++
4 files changed, 187 insertions(+), 51 deletions(-)
diff --git a/_community/index.md b/_community/index.md
index 9157c76..cf95e43 100755
--- a/_community/index.md
+++ b/_community/index.md
@@ -3,53 +3,42 @@ title: Pegasus 社区
subtitle: 我们以纯粹开放的态度,愿与你共同构筑 Pegasus
layout: community
header_style: is-black
----
-
-Pegasus 目前是由小米主导的开源项目,至今在敝公司内部已稳定使用了4年以上。
-随着系统的不断迭代发展,我们相信 Pegasus 所积累的技术能力同样能够服务于广大互联网存储场景。
-
-## 联系我们
-
-- 邮件组:<[email protected]>
-- gitter.im: <https://gitter.im/XiaoMi/Pegasus>
-- 微信:你可以联系 `qinzuoyan` 或 `wutao5003` 以加入我们的微信交流群。
-- 知乎:[Pegasus 技术专栏](https://zhuanlan.zhihu.com/c_1059090995865608192)
-
-## 开源
-Pegasus 是 100% 开源的项目,我们所有的开发都在 Github 之上,所有的组件都使用
-Apache 2 协议(部分代码为 MIT 协议)发布。
+contact_items:
+ - title: 邮件列表
+ icon: fas fa-envelope
+ description: >
+ 参考<a href="/community/mail-subscribe">邮件订阅</a>文档,订阅我们的<a href="mailto:
[email protected]">邮件列表</a>
-我们的版本发布详情在 [Labels:
release-note](https://github.com/XiaoMi/pegasus/labels/release-note) 下可以看到。
+ 参与我们的讨论
-## 参与贡献
+ - title: Github Issues
+ icon: fab fa-github
+ description: >
+ 你可以到<a href="https://github.com/XiaoMi/pegasus/issues">Github
Issues</a>向我们报告缺陷,提出改进的建议,以及咨询Pegasus使用中遇到的问题
-我们欢迎社区用户为 Pegasus 做出贡献,贡献的方式有很多,能力各异的参与者都可以为 Pegasus 添砖加瓦,
-其中包括但不限于以下几种方式:
+ - title: Pegasus技术专栏
+ icon: fab fa-zhihu
+ description: >
+ 我们会不定期发表技术文章到<a
href="https://zhuanlan.zhihu.com/c_1059090995865608192">Pegasus技术专栏</a>,
-### 使用 Pegasus
+ 欢迎关注以及留言
-使用 Pegasus,并告诉我们你的使用场景和需求。
-你可以分享你关于 Pegasus 的博客和PPT到 [Github
Issues](https://github.com/XiaoMi/pegasus/issues) 上,我们会择优收集。
+contributor_items:
+ - title: Pull Requests
+ description: >
+ 我们的开发流程使用<a href="">Github Pull Request</a>机制。你的提交至少需要两个Pegasus
Committer的Code Review都通过才可合入主干分支。即使你并不是Pegasus
Committer,你也可以对代码提出review,你的建议可能会有助于我们发现问题。你可以参照<a
href="/community/coding-guides">Coding Guides</a>的规范来提交代码。
-### 反馈 Bug 和新功能建议
+ - title: RoadMap
+ description: >
+ 你可以在<a
href="/community/roadmap">这里</a>找到我们近期的产品规划,对那些你最感兴趣的需求,你可以与我们进行合作开发。此外,我们也会在每次<a
href="/releases">版本发布</a>时向大家同步Pegasus当前已完成开发的功能以及目标。
-新功能提议和 Bug 详述可以提交到 [Github Issues](https://github.com/XiaoMi/pegasus/issues),
-你在使用 Pegasus 的过程中遇到的问题,和 Pegasus 当前对你所缺乏的需求,都可以及时反馈给我们。
-当然,我们希望在 Issue 中你能提供尽可能多的信息,方便我们跟进。
+ - title: Fixes
+ description: >
+ 我们将当前已知的bug汇总在<a
href="https://github.com/XiaoMi/pegasus/labels/type%2Fbug">Issues:
type/bug</a>。如果你在使用中发现了任何问题,请通过Issues向我们反馈,你的问题反馈也是对我们相当大的帮助。此外,我们极其重视文档的规范化和易读性,这能够帮助我们更好的接入新用户。如果你在阅读文档时发现了问题,也可以向我们提出改进。
-当前已知的 bug 会被整理在 [Issues:
type/bug](https://github.com/XiaoMi/pegasus/labels/type%2Fbug)。
-
-与新功能相关的提案会被整理在 [Issues:
type/enhancement](https://github.com/XiaoMi/pegasus/labels/type%2Fenhancement)。
-
-### 提交代码和测试
-
-我们的开发流程使用 [Github Pull Request](https://github.com/XiaoMi/pegasus/pulls) 机制。
-你的提交至少需要两个 Pegasus Committer 的 Code Review 都通过才可合入 Master 分支。
-即使你并不是 Pegasus Committer,你也可以对代码提出 review,你的建议可能会有助于我们发现问题。
+---
-### 文档修改
+## 邮件订阅
-我们极其重视文档的规范化和易读性,这能够帮助我们更好的接入新用户。如果你在阅读文档时发现了问题,请通过
-[Issues](https://github.com/XiaoMi/pegasus/issues) 反馈,或直接通过 [Pull
Request](https://github.com/XiaoMi/pegasus/pulls)
-修改文档。
+你可以发送一则空邮件到<[email protected]>,邮件机器人会回复你一封邮件,请你确认是否订阅。直接回复此邮件,则可完成订阅。
diff --git a/_community/mail-subscribe.md b/_community/mail-subscribe.md
new file mode 100644
index 0000000..4ec3554
--- /dev/null
+++ b/_community/mail-subscribe.md
@@ -0,0 +1,81 @@
+---
+title: Pegasus邮件列表
+layout: page
+---
+
+Pegasus已经建立了Apache邮件列表(<[email protected]>),其本意是帮助信息的透明化。Apache项目的运作宗旨为“社区大于代码”("Community
Over Code"),一个活跃的社区远要比一份极致的代码更重要。而邮件列表则是实现这一理念的重要组件。
+
+使用你的常用邮箱订阅Pegasus的邮件列表,我们会时常推送Pegasus的开发动态以及新的技术思路与洞见。
+
+## 邮件订阅
+
+要订阅此邮件列表,需要走以下步骤:
+
+1. 发一封邮件到[email protected],其内容和标题均可为空。随后,您会收到一封邮件,其内容如下:
+
+ ```
+ from: [email protected]
+ reply-to: [email protected]
+ to: [email protected]
+ date: Mon, Aug 24, 2020 at 3:12 PM
+ subject: confirm subscribe to [email protected]
+ mailed-by: apache.org
+
+ Hi! This is the ezmlm program. I'm managing the
+ [email protected] mailing list.
+
+ I'm working for my owner, who can be reached
+ at [email protected].
+
+ To confirm that you would like
+
+ [email protected]
+
+ added to the dev mailing list, please send
+ a short reply to this address:
+
+ [email protected]
+
+ Usually, this happens when you just hit the "reply" button.
+ If this does not work, simply copy the address and paste it into
+ the "To:" field of a new message.
+
+ or click here:
+ mailto:[email protected]
+
+ ...
+ ```
+
+2. 直接回复邮件,其内容和标题仍然可以为空,随后,您将再次收到一封邮件,其内容如下:
+
+ ```
+ from: [email protected]
+ to: [email protected]
+ date: Mon, Aug 24, 2020 at 3:12 PM
+ subject: WELCOME to [email protected]
+ mailed-by: apache.org
+
+ Hi! This is the ezmlm program. I'm managing the
+ [email protected] mailing list.
+
+ I'm working for my owner, who can be reached
+ at [email protected].
+
+ Acknowledgment: I have added the address
+
+ [email protected]
+
+ to the dev mailing list.
+
+ Welcome to [email protected]!
+
+ Please save this message so that you know the address you are
+ subscribed under, in case you later want to unsubscribe or change your
+ subscription address.
+
+ ...
+ ```
+
+## 历史邮件
+
+你可以在[Mailing list
archives](http://mail-archives.apache.org/mod_mbox/pegasus-dev/)获取我们的历史邮件,这能帮助你了解到Pegasus的历史动态还有发展轨迹。
diff --git a/_layouts/community.html b/_layouts/community.html
index 34a2d20..615ae4e 100644
--- a/_layouts/community.html
+++ b/_layouts/community.html
@@ -15,23 +15,85 @@
</div>
</div>
</section>
- <section class="section">
- <div class="container">
- <div class="columns is-multiline">
- <div class="column is-one-fourth">
- </div>
- <div class="column is-half content">
- {{ content }}
+ <section class="hero is-medium is-light" id="联系我们">
+ <div class="hero-body">
+ <div class="container has-text-centered">
+ <p class="title is-2 has-text-black">
+ 联系我们
+ </p>
+ <hr class="has-background-black" style="margin-bottom: 5rem;">
+ <div class="columns is-multiline is-centered">
+ {% for item in page.contact_items %}
+ <div class="column is-4 has-text-centered">
+ {% if item.icon %}
+ <div class="contributor-item-icon icon is-large">
+ <i class="{{ item.icon }} fa-4x"></i>
+ </div>
+ {% endif %}
+ <p class="title is-5 has-text-weight-light">{{
item.title }}</p>
+ <div class="content">
+ <p>{{ item.description | newline_to_br }}</p>
+ </div>
+ </div>
+ {% endfor %}
</div>
- <div class="column is-one-fourth is-hidden-mobile"
style="padding-left: 3rem">
- {% if page.toc %}
- <p class="menu-label">本页导航</p>
- {% include toc.html html=content class="menu-list" %}
- {% endif %}
+ </div>
+ </div>
+ </section>
+ <section class="hero is-medium" id="参与贡献">
+ <div class="hero-body">
+ <div class="container">
+ <p class="title is-2 has-text-black has-text-centered">
+ 参与贡献
+ </p>
+ <hr class="has-background-black" style="margin-bottom: 5rem;">
+ <div class="columns is-variable is-8">
+ {% for item in page.contributor_items %}
+ <div class="column is-4">
+ <p class="title is-3 has-text-centered
has-text-weight-light">{{ item.title }}</p>
+ <hr>
+ <div class="content">
+ <p>{{ item.description | newline_to_br }}</p>
+ </div>
+ </div>
+ {% endfor %}
</div>
</div>
</div>
</section>
+ <section class="section">
+ <div class="container" style="padding-bottom: 3rem;">
+ <hr>
+ <div class="tabs is-toggle is-fullwidth is-large">
+ <ul>
+ <li>
+ <a href="/community/mail-subscribe">
+ <span class="icon"><i class="fas fa-envelope-open"
aria-hidden="true"></i></span>
+ <span>邮件订阅</span>
+ </a>
+ </li>
+ <li>
+ <a href="/community/coding-guides">
+ <span class="icon"><i class="fas
fa-location-arrow" aria-hidden="true"></i></span>
+ <span>Coding Guides</span>
+ </a>
+ </li>
+ <li>
+ <a href="/community/roadmap">
+ <span class="icon"><i class="fas
fa-map-marked-alt" aria-hidden="true"></i></span>
+ <span>RoadMap</span>
+ </a>
+ </li>
+ <li>
+ <a href="/overview">
+ <span class="icon"><i class="far fa-file-alt"
aria-hidden="true"></i></span>
+ <span>文档</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </section>
{% include footer.html %}
<script src="{{ site.baseurl }}/assets/js/app.js"
type="text/javascript"></script>
</body>
diff --git a/_sass/_layout.scss b/_sass/_layout.scss
index 29742d2..1c216ec 100644
--- a/_sass/_layout.scss
+++ b/_sass/_layout.scss
@@ -63,3 +63,7 @@
.project-title {
font-family: 'Patua One', cursive;
}
+
+.contributor-item-icon {
+ margin-bottom: 1.5rem;
+}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]