Skip to content

Commit c223597

Browse files
committed
Change default branch to master
This should be more obvious to people unfamiliar with GitHub Pages.
1 parent 69ddb05 commit c223597

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Open Source Guides
22

3-
[![Build Status](https://travis-ci.org/github/opensource.guide.svg?branch=gh-pages)](https://travis-ci.org/github/opensource.guide)
3+
[![Build Status](https://travis-ci.org/github/opensource.guide.svg?branch=master)](https://travis-ci.org/github/opensource.guide)
44

55
Open Source Guides (https://opensource.guide/) are a collection of resources for individuals, communities, and companies who want to learn how to run and contribute to an open source project.
66

_articles/zh-cn/building-community.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ related:
8585

8686
如果你无法及时审查请求,请尽早确认,这样会有助于提高参与度。这里是@tdreyno[Middleman](https://github.com/middleman/middleman/pull/1466)上所回应的一个pull request:
8787

88-
![middleman pull request](https://github.com/cnbo/open-source-guide/blob/gh-pages/assets/images/building-community/middleman_pr.png)
88+
![middleman pull request](/assets/images/building-community/middleman_pr.png)
8989

9090
[一份Mozilla研究发现](https://docs.google.com/presentation/d/1hsJLv1ieSqtXBzd5YZusY-mB8e1VJzaeOmh8Q4VeMio/edit#slide=id.g43d857af8_0177) 如果贡献者在48小时内收到代码审查,他们会有很大的回头率,且极有可能会再次贡献。
9191

@@ -129,15 +129,15 @@ related:
129129

130130
对项目的微不足道的问题进行定期辩论会分散别人的注意力,包括你自己,要将精力几种在重要的任务上,新人如果看见这样的情景,他们可能不会加入到项目中来。
131131

132-
当发现社区中有消极的行为时,要即时、公然的指出来。特别说明的是,要用坚定的语气解释他们的行为为什么是不可接受的。如果这种问题继续发生,你有必要[要求他们离开](https://github.com/cnbo/open-source-guide/blob/gh-pages/_articles/code-of-conduct.md#enforcing-your-code-of-conduct)。你的[行为准则](https://github.com/cnbo/open-source-guide/blob/gh-pages/_articles/code-of-conduct.md)是为这些情景准备的建设性指南。
132+
当发现社区中有消极的行为时,要即时、公然的指出来。特别说明的是,要用坚定的语气解释他们的行为为什么是不可接受的。如果这种问题继续发生,你有必要[要求他们离开](../code-of-conduct/#enforcing-your-code-of-conduct)。你的[行为准则](../code-of-conduct/)是为这些情景准备的建设性指南。
133133

134134
### 知道贡献者在哪里
135135

136136
随着项目的成长,好的文档会变得愈加重要。临时贡献者或路人是不可能一下子就对项目非常熟悉,一份好的文档,能够很快找到他们需要的。
137137

138138
在 CONTRIBUTING 文件里,需要明确告诉新来的贡献者该如何开始。而且若是可能为了想要达到这个目的,还需要准备一个专门的部分。
139139

140-
![django new contributors page](https://github.com/cnbo/open-source-guide/blob/gh-pages/assets/images/building-community/django_new_contributors.png)
140+
![django new contributors page](/assets/images/building-community/django_new_contributors.png)
141141

142142
在issue列表中,缺陷的标签需要做到适合不同类型的贡献者:例如,[_"仅供入门者"_](https://medium.com/@kentcdodds/first-timers-only-78281ea47455#.g1k01jy05), _"优质Bug首秀"_, 或者 _"文档"_. [这些标签](https://github.com/librariesio/libraries.io/blob/6afea1a3354aef4672d9b3a9fc4cc308d60020c8/app/models/github_issue.rb#L8-L14)能够帮助新人快速浏览issues以及开始。
143143

@@ -165,7 +165,7 @@ related:
165165

166166
* **不要亲自去修复简单(非关键)的缺陷。** 相反,将这些缺陷作为招募新贡献者的工具,或者指导想要参与贡献的人。开始时可能效果不是很理想,但经过一段时间你们会得到想要的结果。例如,@michaeljoseph要求一位贡献者提交一个pull request在一个[Cookiecutter](https://github.com/audreyr/cookiecutter) issue的下面,而不是自己修复它。
167167

168-
![cookiecutter issue](https://github.com/cnbo/open-source-guide/blob/gh-pages/assets/images/building-community/cookiecutter_submit_pr.png)
168+
![cookiecutter issue](/assets/images/building-community/cookiecutter_submit_pr.png)
169169

170170
* **在项目中添加一个贡献者或者作者文件** 用于记录每一个参与贡献的人。
171171

_articles/zh-cn/legal.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ related:
2020

2121
## Understanding the legal implications of open source
2222

23-
向世界分享你们具有创造性的工作,这是一个多么令人激动和有价值的经历。这也意味着你们必须担心一堆你们不清楚的法律问题。幸运的是,你们不必从头开始。我们已经涵盖了你们的法律需求。(在你们行动前,请确定阅读了我们的[免责声明](https://github.com/cnbo/open-source-guide/blob/gh-pages/notices.md)。)
23+
向世界分享你们具有创造性的工作,这是一个多么令人激动和有价值的经历。这也意味着你们必须担心一堆你们不清楚的法律问题。幸运的是,你们不必从头开始。我们已经涵盖了你们的法律需求。(在你们行动前,请确定阅读了我们的[免责声明](/notices/)。)
2424

2525
## Why do people care so much about the legal side of open source?
2626

@@ -38,7 +38,7 @@ related:
3838

3939
当你们在GitHub上[创建一个新项目](https://help.github.com/articles/creating-a-new-repository/) 时,你们可以选择将仓库设置成**private**或者**public**
4040

41-
![create repository](https://github.com/cnbo/open-source-guide/blob/gh-pages/assets/images/legal/repo-create-name.png)
41+
![Create repository](/assets/images/legal/repo-create-name.png)
4242

4343
**Making your GitHub project public is not the same as licensing your project.** Public projects are covered by [GitHub's Terms of Service](https://help.github.com/articles/github-terms-of-service/#f-copyright-and-content-ownership), which allows others to view and fork your project, but your work otherwise comes with no permissions.
4444
**让你们的GitHub项目公开与许可你们的项目是不同的。**公开项目是由[GitHub的服务条款](https://help.github.com/articles/github-terms-of-service/#f-copyright-and-content-ownership)保护,它允许他人浏览以及fork你们的项目,但是没有权限参与你们的工作。

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sass:
4848
load_paths:
4949
- node_modules
5050

51-
branch: gh-pages
51+
branch: master
5252

5353
github:
5454
repository_nwo: github/opensource.guide

_includes/nav.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</a>
1010
</li>
1111
<li class="d-inline-block border-right">
12-
<a class="d-block p-3 p-sm-4" href="https://github.com/github/opensource.guide/blob/gh-pages/CONTRIBUTING.md">
12+
<a class="d-block p-3 p-sm-4" href="https://github.com/github/opensource.guide/blob/master/CONTRIBUTING.md">
1313
{{ t.nav.contribute }}
1414
</a>
1515
</li>

0 commit comments

Comments
 (0)