Add Chinese support #13
@ -13,3 +13,9 @@ make build
|
||||
make clean
|
||||
make serve
|
||||
```
|
||||
|
||||
## Test zh-cn version
|
||||
|
||||
```
|
||||
npm run start -- --locale zh-cn
|
||||
```
|
||||
|
@ -61,7 +61,7 @@ const config = {
|
||||
const {item} = args;
|
||||
// Use the provided data to generate a custom sidebar slice
|
||||
const sidebarItems = await defaultSidebarItemsGenerator(args);
|
||||
if (item.dirName !== 'usage') {
|
||||
if (item.dirName !== 'usage' && item.dirName !== 'zh-cn/usage') {
|
||||
return sidebarItems;
|
||||
} else {
|
||||
return sortItemsByCategory(sidebarItems);
|
||||
@ -80,7 +80,7 @@ const config = {
|
||||
"@easyops-cn/docusaurus-search-local",
|
||||
{
|
||||
hashed: false,
|
||||
language: ["en"],
|
||||
language: ["en", "zh"],
|
||||
highlightSearchTermsOnTargetPage: true,
|
||||
explicitSearchResultPath: true,
|
||||
indexBlog: false,
|
||||
@ -122,10 +122,10 @@ const config = {
|
||||
type: 'search',
|
||||
position: 'right',
|
||||
},
|
||||
/* {
|
||||
{
|
||||
type: 'localeDropdown',
|
||||
position: 'right',
|
||||
},*/
|
||||
},
|
||||
{
|
||||
type: 'docsVersionDropdown',
|
||||
position: 'right',
|
||||
|
299
i18n/zh-cn/code.json
Normal file
299
i18n/zh-cn/code.json
Normal file
@ -0,0 +1,299 @@
|
||||
{
|
||||
"theme.ErrorPageContent.title": {
|
||||
"message": "页面已崩溃。",
|
||||
"description": "The title of the fallback page when the page crashed"
|
||||
},
|
||||
"theme.ErrorPageContent.tryAgain": {
|
||||
"message": "重试",
|
||||
"description": "The label of the button to try again when the page crashed"
|
||||
},
|
||||
"theme.NotFound.title": {
|
||||
"message": "找不到页面",
|
||||
"description": "The title of the 404 page"
|
||||
},
|
||||
"theme.NotFound.p1": {
|
||||
"message": "我们找不到您要找的页面。",
|
||||
"description": "The first paragraph of the 404 page"
|
||||
},
|
||||
"theme.NotFound.p2": {
|
||||
"message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。",
|
||||
"description": "The 2nd paragraph of the 404 page"
|
||||
},
|
||||
"theme.admonition.note": {
|
||||
"message": "备注",
|
||||
"description": "The default label used for the Note admonition (:::note)"
|
||||
},
|
||||
"theme.admonition.tip": {
|
||||
"message": "提示",
|
||||
"description": "The default label used for the Tip admonition (:::tip)"
|
||||
},
|
||||
"theme.admonition.danger": {
|
||||
"message": "危险",
|
||||
"description": "The default label used for the Danger admonition (:::danger)"
|
||||
},
|
||||
"theme.admonition.info": {
|
||||
"message": "信息",
|
||||
"description": "The default label used for the Info admonition (:::info)"
|
||||
},
|
||||
"theme.admonition.caution": {
|
||||
"message": "警告",
|
||||
"description": "The default label used for the Caution admonition (:::caution)"
|
||||
},
|
||||
"theme.BackToTopButton.buttonAriaLabel": {
|
||||
"message": "回到顶部",
|
||||
"description": "The ARIA label for the back to top button"
|
||||
},
|
||||
"theme.blog.archive.title": {
|
||||
"message": "历史博文",
|
||||
"description": "The page & hero title of the blog archive page"
|
||||
},
|
||||
"theme.blog.archive.description": {
|
||||
"message": "历史博文",
|
||||
"description": "The page & hero description of the blog archive page"
|
||||
},
|
||||
"theme.blog.paginator.navAriaLabel": {
|
||||
"message": "博文列表分页导航",
|
||||
"description": "The ARIA label for the blog pagination"
|
||||
},
|
||||
"theme.blog.paginator.newerEntries": {
|
||||
"message": "较新的博文",
|
||||
"description": "The label used to navigate to the newer blog posts page (previous page)"
|
||||
},
|
||||
"theme.blog.paginator.olderEntries": {
|
||||
"message": "较旧的博文",
|
||||
"description": "The label used to navigate to the older blog posts page (next page)"
|
||||
},
|
||||
"theme.blog.post.paginator.navAriaLabel": {
|
||||
"message": "博文分页导航",
|
||||
"description": "The ARIA label for the blog posts pagination"
|
||||
},
|
||||
"theme.blog.post.paginator.newerPost": {
|
||||
"message": "较新一篇",
|
||||
"description": "The blog post button label to navigate to the newer/previous post"
|
||||
},
|
||||
"theme.blog.post.paginator.olderPost": {
|
||||
"message": "较旧一篇",
|
||||
"description": "The blog post button label to navigate to the older/next post"
|
||||
},
|
||||
"theme.blog.post.plurals": {
|
||||
"message": "{count} 篇博文",
|
||||
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
|
||||
},
|
||||
"theme.blog.tagTitle": {
|
||||
"message": "{nPosts} 含有标签「{tagName}」",
|
||||
"description": "The title of the page for a blog tag"
|
||||
},
|
||||
"theme.tags.tagsPageLink": {
|
||||
"message": "查看所有标签",
|
||||
"description": "The label of the link targeting the tag list page"
|
||||
},
|
||||
"theme.colorToggle.ariaLabel": {
|
||||
"message": "切换浅色/暗黑模式(当前为{mode})",
|
||||
"description": "The ARIA label for the navbar color mode toggle"
|
||||
},
|
||||
"theme.colorToggle.ariaLabel.mode.dark": {
|
||||
"message": "暗黑模式",
|
||||
"description": "The name for the dark color mode"
|
||||
},
|
||||
"theme.colorToggle.ariaLabel.mode.light": {
|
||||
"message": "浅色模式",
|
||||
"description": "The name for the light color mode"
|
||||
},
|
||||
"theme.docs.breadcrumbs.navAriaLabel": {
|
||||
"message": "页面路径",
|
||||
"description": "The ARIA label for the breadcrumbs"
|
||||
},
|
||||
"theme.docs.DocCard.categoryDescription": {
|
||||
"message": "{count} 个项目",
|
||||
"description": "The default description for a category card in the generated index about how many items this category includes"
|
||||
},
|
||||
"theme.docs.paginator.navAriaLabel": {
|
||||
"message": "文档分页导航",
|
||||
"description": "The ARIA label for the docs pagination"
|
||||
},
|
||||
"theme.docs.paginator.previous": {
|
||||
"message": "上一页",
|
||||
"description": "The label used to navigate to the previous doc"
|
||||
},
|
||||
"theme.docs.paginator.next": {
|
||||
"message": "下一页",
|
||||
"description": "The label used to navigate to the next doc"
|
||||
},
|
||||
"theme.docs.tagDocListPageTitle.nDocsTagged": {
|
||||
"message": "{count} 篇文档带有标签",
|
||||
"description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
|
||||
},
|
||||
"theme.docs.tagDocListPageTitle": {
|
||||
"message": "{nDocsTagged}「{tagName}」",
|
||||
"description": "The title of the page for a docs tag"
|
||||
},
|
||||
"theme.docs.versionBadge.label": {
|
||||
"message": "版本:{versionLabel}"
|
||||
},
|
||||
"theme.docs.versions.unreleasedVersionLabel": {
|
||||
"message": "此为 {siteTitle} {versionLabel} 版尚未发行的文档。",
|
||||
"description": "The label used to tell the user that he's browsing an unreleased doc version"
|
||||
},
|
||||
"theme.docs.versions.unmaintainedVersionLabel": {
|
||||
"message": "此为 {siteTitle} {versionLabel} 版的文档,现已不再积极维护。",
|
||||
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
|
||||
},
|
||||
"theme.docs.versions.latestVersionSuggestionLabel": {
|
||||
"message": "最新的文档请参阅 {latestVersionLink} ({versionLabel})。",
|
||||
"description": "The label used to tell the user to check the latest version"
|
||||
},
|
||||
"theme.docs.versions.latestVersionLinkLabel": {
|
||||
"message": "最新版本",
|
||||
"description": "The label used for the latest version suggestion link label"
|
||||
},
|
||||
"theme.common.editThisPage": {
|
||||
"message": "编辑此页",
|
||||
"description": "The link label to edit the current page"
|
||||
},
|
||||
"theme.common.headingLinkTitle": {
|
||||
"message": "{heading}的直接链接",
|
||||
"description": "Title for link to heading"
|
||||
},
|
||||
"theme.lastUpdated.atDate": {
|
||||
"message": "于 {date} ",
|
||||
"description": "The words used to describe on which date a page has been last updated"
|
||||
},
|
||||
"theme.lastUpdated.byUser": {
|
||||
"message": "由 {user} ",
|
||||
"description": "The words used to describe by who the page has been last updated"
|
||||
},
|
||||
"theme.lastUpdated.lastUpdatedAtBy": {
|
||||
"message": "最后{byUser}{atDate}更新",
|
||||
"description": "The sentence used to display when a page has been last updated, and by who"
|
||||
},
|
||||
"theme.navbar.mobileVersionsDropdown.label": {
|
||||
"message": "选择版本",
|
||||
"description": "The label for the navbar versions dropdown on mobile view"
|
||||
},
|
||||
"theme.tags.tagsListLabel": {
|
||||
"message": "标签:",
|
||||
"description": "The label alongside a tag list"
|
||||
},
|
||||
"theme.AnnouncementBar.closeButtonAriaLabel": {
|
||||
"message": "关闭",
|
||||
"description": "The ARIA label for close button of announcement bar"
|
||||
},
|
||||
"theme.blog.sidebar.navAriaLabel": {
|
||||
"message": "最近博文导航",
|
||||
"description": "The ARIA label for recent posts in the blog sidebar"
|
||||
},
|
||||
"theme.CodeBlock.copied": {
|
||||
"message": "复制成功",
|
||||
"description": "The copied button label on code blocks"
|
||||
},
|
||||
"theme.CodeBlock.copyButtonAriaLabel": {
|
||||
"message": "复制代码到剪贴板",
|
||||
"description": "The ARIA label for copy code blocks button"
|
||||
},
|
||||
"theme.CodeBlock.copy": {
|
||||
"message": "复制",
|
||||
"description": "The copy button label on code blocks"
|
||||
},
|
||||
"theme.CodeBlock.wordWrapToggle": {
|
||||
"message": "切换自动换行",
|
||||
"description": "The title attribute for toggle word wrapping button of code block lines"
|
||||
},
|
||||
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
|
||||
"message": "打开/收起侧边栏菜单「{label}」",
|
||||
"description": "The ARIA label to toggle the collapsible sidebar category"
|
||||
},
|
||||
"theme.NavBar.navAriaLabel": {
|
||||
"message": "主导航",
|
||||
"description": "The ARIA label for the main navigation"
|
||||
},
|
||||
"theme.navbar.mobileLanguageDropdown.label": {
|
||||
"message": "选择语言",
|
||||
"description": "The label for the mobile language switcher dropdown"
|
||||
},
|
||||
"theme.TOCCollapsible.toggleButtonLabel": {
|
||||
"message": "本页总览",
|
||||
"description": "The label used by the button on the collapsible TOC component"
|
||||
},
|
||||
"theme.blog.post.readMore": {
|
||||
"message": "阅读更多",
|
||||
"description": "The label used in blog post item excerpts to link to full blog posts"
|
||||
},
|
||||
"theme.blog.post.readMoreLabel": {
|
||||
"message": "阅读 {title} 的全文",
|
||||
"description": "The ARIA label for the link to full blog posts from excerpts"
|
||||
},
|
||||
"theme.blog.post.readingTime.plurals": {
|
||||
"message": "阅读需 {readingTime} 分钟",
|
||||
"description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
|
||||
},
|
||||
"theme.docs.breadcrumbs.home": {
|
||||
"message": "主页面",
|
||||
"description": "The ARIA label for the home page in the breadcrumbs"
|
||||
},
|
||||
"theme.docs.sidebar.collapseButtonTitle": {
|
||||
"message": "收起侧边栏",
|
||||
"description": "The title attribute for collapse button of doc sidebar"
|
||||
},
|
||||
"theme.docs.sidebar.collapseButtonAriaLabel": {
|
||||
"message": "收起侧边栏",
|
||||
"description": "The title attribute for collapse button of doc sidebar"
|
||||
},
|
||||
"theme.docs.sidebar.navAriaLabel": {
|
||||
"message": "文档侧边栏",
|
||||
"description": "The ARIA label for the sidebar navigation"
|
||||
},
|
||||
"theme.docs.sidebar.closeSidebarButtonAriaLabel": {
|
||||
"message": "关闭导航栏",
|
||||
"description": "The ARIA label for close button of mobile sidebar"
|
||||
},
|
||||
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
|
||||
"message": "← 回到主菜单",
|
||||
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
|
||||
},
|
||||
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
|
||||
"message": "切换导航栏",
|
||||
"description": "The ARIA label for hamburger menu button of mobile navigation"
|
||||
},
|
||||
"theme.docs.sidebar.expandButtonTitle": {
|
||||
"message": "展开侧边栏",
|
||||
"description": "The ARIA label and title attribute for expand button of doc sidebar"
|
||||
},
|
||||
"theme.docs.sidebar.expandButtonAriaLabel": {
|
||||
"message": "展开侧边栏",
|
||||
"description": "The ARIA label and title attribute for expand button of doc sidebar"
|
||||
},
|
||||
"theme.SearchBar.noResultsText": {
|
||||
"message": "没有找到任何文档"
|
||||
},
|
||||
"theme.SearchBar.seeAll": {
|
||||
"message": "查看全部结果"
|
||||
},
|
||||
"theme.SearchBar.label": {
|
||||
"message": "搜索",
|
||||
"description": "The ARIA label and placeholder for search button"
|
||||
},
|
||||
"theme.SearchPage.existingResultsTitle": {
|
||||
"message": "“{query}” 的搜索结果",
|
||||
"description": "The search page title for non-empty query"
|
||||
},
|
||||
"theme.SearchPage.emptyResultsTitle": {
|
||||
"message": "搜索文档",
|
||||
"description": "The search page title for empty query"
|
||||
},
|
||||
"theme.SearchPage.documentsFound.plurals": {
|
||||
"message": "共找到 {count} 篇文档",
|
||||
"description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
|
||||
},
|
||||
"theme.SearchPage.noResultsText": {
|
||||
"message": "没有找到任何文档",
|
||||
"description": "The paragraph for empty search result"
|
||||
},
|
||||
"theme.common.skipToMainContent": {
|
||||
"message": "跳到主要内容",
|
||||
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
|
||||
},
|
||||
"theme.tags.tagsPageTitle": {
|
||||
"message": "标签",
|
||||
"description": "The title of the tag list page"
|
||||
}
|
||||
}
|
78
i18n/zh-cn/docusaurus-plugin-content-docs/current.json
Normal file
78
i18n/zh-cn/docusaurus-plugin-content-docs/current.json
Normal file
@ -0,0 +1,78 @@
|
||||
{
|
||||
"sidebar.siderBarCN.category.actions": {
|
||||
"message": "Actions",
|
||||
"description": "The label for category actions in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.packages": {
|
||||
"message": "软件包",
|
||||
"description": "The label for category packages in sidebar siderBarCN"
|
||||
},
|
||||
"version.label": {
|
||||
"message": "1.20-dev",
|
||||
"description": "The label for version current"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Installation": {
|
||||
"message": "Installation",
|
||||
"description": "The label for category Installation in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Administration": {
|
||||
"message": "Administration",
|
||||
"description": "The label for category Administration in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Usage": {
|
||||
"message": "Usage",
|
||||
"description": "The label for category Usage in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.actions": {
|
||||
"message": "actions",
|
||||
"description": "The label for category actions in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.packages": {
|
||||
"message": "packages",
|
||||
"description": "The label for category packages in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Development": {
|
||||
"message": "Development",
|
||||
"description": "The label for category Development in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Contributing": {
|
||||
"message": "Contributing",
|
||||
"description": "The label for category Contributing in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Help": {
|
||||
"message": "Help",
|
||||
"description": "The label for category Help in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.link.What is Gitea?": {
|
||||
"message": "What is Gitea?",
|
||||
"description": "The label for link What is Gitea? in sidebar defaultSidebar, linking to /next/"
|
||||
},
|
||||
"sidebar.siderBarCN.category.安装": {
|
||||
"message": "安装",
|
||||
"description": "The label for category 安装 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.管理": {
|
||||
"message": "管理",
|
||||
"description": "The label for category 管理 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.使用": {
|
||||
"message": "使用",
|
||||
"description": "The label for category 使用 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.开发": {
|
||||
"message": "开发",
|
||||
"description": "The label for category 开发 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.贡献": {
|
||||
"message": "贡献",
|
||||
"description": "The label for category 贡献 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.帮助": {
|
||||
"message": "帮助",
|
||||
"description": "The label for category 帮助 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.link.Gitea是什么?": {
|
||||
"message": "Gitea是什么?",
|
||||
"description": "The label for link Gitea是什么? in sidebar siderBarCN, linking to /next/"
|
||||
}
|
||||
}
|
73
i18n/zh-cn/docusaurus-plugin-content-docs/current/intro.md
Normal file
73
i18n/zh-cn/docusaurus-plugin-content-docs/current/intro.md
Normal file
@ -0,0 +1,73 @@
|
||||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
displayed_sidebar: siderBarCN
|
||||
slug: /
|
||||
|
||||
sidebar_position: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
# 关于Gitea
|
||||
|
||||
Gitea 是一个自己托管的Git服务程序。他和GitHub, Bitbucket or Gitlab等比较类似。他是从 [Gogs](http://gogs.io) 发展而来,不过我们已经Fork并且命名为Gitea。对于我们Fork的原因可以看 [这里](https://blog.gitea.io/2016/12/welcome-to-gitea/)。
|
||||
|
||||
## 目标
|
||||
|
||||
Gitea的首要目标是创建一个极易安装,运行非常快速,安装和使用体验良好的自建 Git 服务。我们采用Go作为后端语言,这使我们只要生成一个可执行程序即可。并且他还支持跨平台,支持 Linux, macOS 和 Windows 以及各种架构,除了x86,amd64,还包括 ARM 和 PowerPC。
|
||||
|
||||
## 功能特性
|
||||
|
||||
- 支持活动时间线
|
||||
- 支持 SSH 以及 HTTP/HTTPS 协议
|
||||
- 支持 SMTP、LDAP 和反向代理的用户认证
|
||||
- 支持反向代理子路径
|
||||
- 支持用户、组织和仓库管理系统
|
||||
- 支持添加和删除仓库协作者
|
||||
- 支持仓库和组织级别 Web 钩子(包括 Slack 集成)
|
||||
- 支持仓库 Git 钩子和部署密钥
|
||||
- 支持仓库工单(Issue)、合并请求(Pull Request)以及 Wiki
|
||||
- 支持迁移和镜像仓库以及它的 Wiki
|
||||
- 支持在线编辑仓库文件和 Wiki
|
||||
- 支持自定义源的 Gravatar 和 Federated Avatar
|
||||
- 支持邮件服务
|
||||
- 支持后台管理面板
|
||||
- 支持 MySQL、PostgreSQL、SQLite3、MSSQL 和 TiDB(MySQL) 数据库
|
||||
- 支持多语言本地化(21 种语言)
|
||||
- 支持软件包注册中心(Composer/Conan/Container/Generic/Helm/Maven/NPM/Nuget/PyPI/RubyGems)
|
||||
|
||||
## 系统要求
|
||||
|
||||
- 最低的系统硬件要求为一个廉价的树莓派
|
||||
- 如果用于团队项目,建议使用 2 核 CPU 及 1GB 内存
|
||||
|
||||
## 浏览器支持
|
||||
|
||||
- Chrome, Firefox, Safari, Edge
|
||||
|
||||
## 组件
|
||||
|
||||
- Web框架: [Chi](http://github.com/go-chi/chi)
|
||||
- ORM: [XORM](https://xorm.io)
|
||||
- UI 框架:
|
||||
- [jQuery](https://jquery.com)
|
||||
- [Fomantic UI](https://fomantic-ui.com)
|
||||
- [Vue3](https://vuejs.org)
|
||||
- 更多组件参见 package.json
|
||||
- 编辑器:
|
||||
- [CodeMirror](https://codemirror.net)
|
||||
- [EasyMDE](https://github.com/Ionaru/easy-markdown-editor)
|
||||
- [Monaco Editor](https://microsoft.github.io/monaco-editor)
|
||||
- 数据库驱动:
|
||||
- [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql)
|
||||
- [github.com/lib/pq](https://github.com/lib/pq)
|
||||
- [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
||||
- [github.com/denisenkom/go-mssqldb](https://github.com/denisenkom/go-mssqldb)
|
||||
|
||||
## 软件及服务支持
|
||||
|
||||
- [Drone](https://github.com/drone/drone) (CI)
|
||||
|
||||
## 需要帮助?
|
||||
|
||||
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md)
|
70
i18n/zh-cn/docusaurus-plugin-content-docs/version-1.19.json
Normal file
70
i18n/zh-cn/docusaurus-plugin-content-docs/version-1.19.json
Normal file
@ -0,0 +1,70 @@
|
||||
{
|
||||
"version.label": {
|
||||
"message": "1.19.3",
|
||||
"description": "The label for version 1.19"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Installation": {
|
||||
"message": "Installation",
|
||||
"description": "The label for category Installation in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Administration": {
|
||||
"message": "Administration",
|
||||
"description": "The label for category Administration in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Usage": {
|
||||
"message": "Usage",
|
||||
"description": "The label for category Usage in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Packages": {
|
||||
"message": "Packages",
|
||||
"description": "The label for category Packages in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Development": {
|
||||
"message": "Development",
|
||||
"description": "The label for category Development in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Contributing": {
|
||||
"message": "Contributing",
|
||||
"description": "The label for category Contributing in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.category.Help": {
|
||||
"message": "Help",
|
||||
"description": "The label for category Help in sidebar defaultSidebar"
|
||||
},
|
||||
"sidebar.defaultSidebar.link.What is Gitea?": {
|
||||
"message": "What is Gitea?",
|
||||
"description": "The label for link What is Gitea? in sidebar defaultSidebar, linking to /"
|
||||
},
|
||||
"sidebar.siderBarCN.category.安装": {
|
||||
"message": "安装",
|
||||
"description": "The label for category 安装 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.运维": {
|
||||
"message": "运维",
|
||||
"description": "The label for category 运维 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.使用": {
|
||||
"message": "使用",
|
||||
"description": "The label for category 使用 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.软件包管理": {
|
||||
"message": "软件包管理",
|
||||
"description": "The label for category 软件包管理 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.开发": {
|
||||
"message": "开发",
|
||||
"description": "The label for category 开发 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.贡献": {
|
||||
"message": "贡献",
|
||||
"description": "The label for category 贡献 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.category.帮助": {
|
||||
"message": "帮助",
|
||||
"description": "The label for category 帮助 in sidebar siderBarCN"
|
||||
},
|
||||
"sidebar.siderBarCN.link.什么是Gitea?": {
|
||||
"message": "什么是Gitea?",
|
||||
"description": "The label for link 什么是Gitea? in sidebar siderBarCN, linking to /"
|
||||
}
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
---
|
||||
date: "2016-11-08T16:00:00+02:00"
|
||||
displayed_sidebar: siderBarCN
|
||||
slug: /
|
||||
|
||||
sidebar_position: 10
|
||||
toc: false
|
||||
draft: false
|
||||
---
|
||||
|
||||
# 关于Gitea
|
||||
|
||||
Gitea 是一个自己托管的Git服务程序。他和GitHub, Bitbucket or Gitlab等比较类似。他是从 [Gogs](http://gogs.io) 发展而来,不过我们已经Fork并且命名为Gitea。对于我们Fork的原因可以看 [这里](https://blog.gitea.io/2016/12/welcome-to-gitea/)。
|
||||
|
||||
## 目标
|
||||
|
||||
Gitea的首要目标是创建一个极易安装,运行非常快速,安装和使用体验良好的自建 Git 服务。我们采用Go作为后端语言,这使我们只要生成一个可执行程序即可。并且他还支持跨平台,支持 Linux, macOS 和 Windows 以及各种架构,除了x86,amd64,还包括 ARM 和 PowerPC。
|
||||
|
||||
## 功能特性
|
||||
|
||||
- 支持活动时间线
|
||||
- 支持 SSH 以及 HTTP/HTTPS 协议
|
||||
- 支持 SMTP、LDAP 和反向代理的用户认证
|
||||
- 支持反向代理子路径
|
||||
- 支持用户、组织和仓库管理系统
|
||||
- 支持添加和删除仓库协作者
|
||||
- 支持仓库和组织级别 Web 钩子(包括 Slack 集成)
|
||||
- 支持仓库 Git 钩子和部署密钥
|
||||
- 支持仓库工单(Issue)、合并请求(Pull Request)以及 Wiki
|
||||
- 支持迁移和镜像仓库以及它的 Wiki
|
||||
- 支持在线编辑仓库文件和 Wiki
|
||||
- 支持自定义源的 Gravatar 和 Federated Avatar
|
||||
- 支持邮件服务
|
||||
- 支持后台管理面板
|
||||
- 支持 MySQL、PostgreSQL、SQLite3、MSSQL 和 TiDB(MySQL) 数据库
|
||||
- 支持多语言本地化(21 种语言)
|
||||
- 支持软件包注册中心(Composer/Conan/Container/Generic/Helm/Maven/NPM/Nuget/PyPI/RubyGems)
|
||||
|
||||
## 系统要求
|
||||
|
||||
- 最低的系统硬件要求为一个廉价的树莓派
|
||||
- 如果用于团队项目,建议使用 2 核 CPU 及 1GB 内存
|
||||
|
||||
## 浏览器支持
|
||||
|
||||
- Chrome, Firefox, Safari, Edge
|
||||
|
||||
## 组件
|
||||
|
||||
- Web框架: [Chi](http://github.com/go-chi/chi)
|
||||
- ORM: [XORM](https://xorm.io)
|
||||
- UI 框架:
|
||||
- [jQuery](https://jquery.com)
|
||||
- [Fomantic UI](https://fomantic-ui.com)
|
||||
- [Vue3](https://vuejs.org)
|
||||
- 更多组件参见 package.json
|
||||
- 编辑器:
|
||||
- [CodeMirror](https://codemirror.net)
|
||||
- [EasyMDE](https://github.com/Ionaru/easy-markdown-editor)
|
||||
- [Monaco Editor](https://microsoft.github.io/monaco-editor)
|
||||
- 数据库驱动:
|
||||
- [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql)
|
||||
- [github.com/lib/pq](https://github.com/lib/pq)
|
||||
- [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
||||
- [github.com/denisenkom/go-mssqldb](https://github.com/denisenkom/go-mssqldb)
|
||||
|
||||
## 软件及服务支持
|
||||
|
||||
- [Drone](https://github.com/drone/drone) (CI)
|
||||
|
||||
## 需要帮助?
|
||||
|
||||
如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md)
|
34
i18n/zh-cn/docusaurus-theme-classic/footer.json
Normal file
34
i18n/zh-cn/docusaurus-theme-classic/footer.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"link.title.Docs": {
|
||||
"message": "文档",
|
||||
"description": "The title of the footer links column with title=Docs in the footer"
|
||||
},
|
||||
"link.title.Community": {
|
||||
"message": "社区",
|
||||
"description": "The title of the footer links column with title=Community in the footer"
|
||||
},
|
||||
"link.title.More": {
|
||||
"message": "更多",
|
||||
"description": "The title of the footer links column with title=More in the footer"
|
||||
},
|
||||
"link.item.label.Tutorial": {
|
||||
"message": "教程",
|
||||
"description": "The label of footer link with label=Tutorial linking to /"
|
||||
},
|
||||
"link.item.label.Code": {
|
||||
"message": "代码",
|
||||
"description": "The label of footer link with label=Code linking to https://github.com/go-gitea/gitea"
|
||||
},
|
||||
"link.item.label.Stack Overflow": {
|
||||
"message": "Stack Overflow",
|
||||
"description": "The label of footer link with label=Stack Overflow linking to https://stackoverflow.com/questions/tagged/gitea"
|
||||
},
|
||||
"link.item.label.Discord": {
|
||||
"message": "Discord",
|
||||
"description": "The label of footer link with label=Discord linking to https://discord.gg/gitea"
|
||||
},
|
||||
"link.item.label.Twitter": {
|
||||
"message": "Twitter",
|
||||
"description": "The label of footer link with label=Twitter linking to https://twitter.com/giteaio"
|
||||
}
|
||||
}
|
18
i18n/zh-cn/docusaurus-theme-classic/navbar.json
Normal file
18
i18n/zh-cn/docusaurus-theme-classic/navbar.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"title": {
|
||||
"message": "Gitea",
|
||||
"description": "The title in the navbar"
|
||||
},
|
||||
"item.label.Docs": {
|
||||
"message": "文档",
|
||||
"description": "Navbar item with label Docs"
|
||||
},
|
||||
"item.label.Code": {
|
||||
"message": "代码",
|
||||
"description": "Navbar item with label Code"
|
||||
},
|
||||
"item.label.Support": {
|
||||
"message": "支持",
|
||||
"description": "Navbar item with label Support"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user