首页 > 代码库 > 【翻译】GitHub Pages Basics 基本使用帮助【一】GitHub Pages 是什么?
【翻译】GitHub Pages Basics 基本使用帮助【一】GitHub Pages 是什么?
https://help.github.com/articles/what-is-github-pages/
What is GitHub Pages? --> GitHub Pages 是什么?
GitHub Pages is a static site hosting service.
GitHub Pages 是一个静态网站托管服务
GitHub Pages is designed to host your personal, organization, or project pages directly from a GitHub repository. To learn more about the different types of GitHub Pages sites, see "User, organization, and project pages."
GitHub Pages 被设计来管理你的来自一个GitHub 库的个人的、组织的、或者项目的页面。了解更多不同的类型的GitHub Pages网站,你可以点击:"个人、组织和项目页"。
You can create and publish GitHub Pages online using the Jekyll Theme Chooser. If you prefer to work locally, you can use GitHub Desktop or the command line.
你可以创建和发布一个GitHub Pages到网上,使用Jekyll Theme Chooser技术。如果你更偏向于在本地使用,你可以使用 GitHub Desktop 或 命令行.
Guidelines for using GitHub Pages
Github Pages的使用指导
- GitHub Pages sites created after June 15, 2016 and using
github.io
domains are served over HTTPS. If you created your site before June 15, 2016, you can enable HTTPS support for traffic to your site. - GitHub Pages网站创建于 2016年6月15日。使用github.io域名和HTTPS来提供服务。如果你在2016年6月15日之前创建了你的网站,你可以启用HTTPS支持来连接你的网站
-
GitHub Pages sites shouldn‘t be used for sensitive transactions like sending passwords or credit card numbers.
- GitHub Pages 不应该被用于敏感的事务,比如发送密码或者信用卡号码等
-
Your use of GitHub Pages is subject to the GitHub Terms of Service, including the prohibition on reselling.
- 你使用GitHub Pages是受制于 GitHub服务条款 的,包括禁止转卖等
Warning: GitHub Pages sites are publicly available on the internet, even if their repositories are private. If you have sensitive data in your Page repository, you may want to remove it before publishing.
警告:GitHub Pages 网站是在网络上公开使用的,即使他们的库是私有的。如果你敏感的数据在你的Page库中,你可能需要在发布之前删除它。
Usage limits
使用限制
GitHub Pages sites are subject to the following usage limits:
GitHub Pages受制于以下的使用限制:
- GitHub Pages source repositories have a recommended limit of 1GB .
- GitHub Pages source 库 建议限制使用1GB
-
Published GitHub Pages sites may be no larger than 1 GB.
- 发布的GitHub Pages网站最多不能超过1GB
-
GitHub Pages sites have a bandwidth limit of 100GB or 100,000 requests per month.
- GitHub Page网站带宽限制是100Gb,10000请求每月。
- GitHub Pages sites have a limit of 10 builds per hour.
- GitHub Page王炸安限制每小时10个builds
If your site exceeds these usage quotas, we may not be able to serve your site, or you may receive a polite email from GitHub Support suggesting strategies for reducing your site‘s impact on our servers, including moving to a different hosting service that might better fit your needs.
如果你超过了这些使用配额,我们将不会提供给你的网站提供服务,或者你可能会受到一个有礼貌的邮件,它是来自GitHub Support的建议策略,目的是降低你的网站对我们的服务器的影响,包括迁移到一个不同的主机服务,可能更加满足你的需求。
Additionally, GitHub Pages sites must refrain from:
此外,GitHub Pages必须避免以下情况:
- Content or activity that is illegal or otherwise prohibited by our Terms of Service
- 非法内容或活动,另外这也是被我们的服务条款禁止的。
- Violent or threatening content or activity
- 暴恐内容和活动
- Excessive automated bulk activity (for example, spamming)
- 过度自动化容量活动(举例,垃圾邮件)
- Activity that compromises GitHub users or GitHub services
- GitHub的使用者或者GitHub的服务不允许的服务
- Get-rich-quick schemes
- (宣传)一夜暴富方案:应该指赌博之类的
- Pornographic content
- 色情内容
- Content that misrepresents your identity or site purpose
- 歪曲你的身份或者网站使用目的的内容
If you have questions about whether your use or intended use falls into these categories, please contactGitHub Support.
如果你在使用上有任何问题,或者你的网站被错误地归类于以上分类,请联系我们。
Further reading
了解更多
- "GitHub Pages basics"
- GitHub Pages 基本知识
- Beyond GitHub Pages basics
- 在GitHub Pages基础知识之前
- GitHub Pages tutorial
- GitHub Pages指南
【翻译】GitHub Pages Basics 基本使用帮助【一】GitHub Pages 是什么?