You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.7 KiB

  1. # Gitea: 文档
  2. [![Build Status](http://drone.gitea.io/api/badges/go-gitea/docs/status.svg)](http://drone.gitea.io/go-gitea/docs)
  3. [![Join the chat at https://img.shields.io/discord/322538954119184384.svg](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/Gitea)
  4. [![](https://images.microbadger.com/badges/image/gitea/docs.svg)](http://microbadger.com/images/gitea/docs "Get your own image badge on microbadger.com")
  5. ## 关于托管方式
  6. 本页面托管在我们 Docker 容器内的基础设施上, 它会在每次推送到 `master` 分支的时候自动更新,如果你想自己管理这个页面,你可以从我们的 Docker 镜像 [gitea/docs](https://hub.docker.com/r/gitea/docs/) 中获取它。
  7. ## 安装 Hugo
  8. 本页面使用了 [Hugo](https://github.com/spf13/hugo) 静态页面生成工具,如果您有维护它的意愿,则需要在本地计算机上下载并安装 Hugo。Hugo 的安装教程不在本文档的讲述范围之内,详情请参见 [官方文档](https://gohugo.io/overview/installing/)。
  9. ## 如何部署
  10. 在 [localhost:1313](http://localhost:1313) 处构建和运行网站的命令如下,如果需要停止可以使用组合键 `Ctrl+C`:
  11. ```
  12. make server
  13. ```
  14. 完成更改后,只需创建一个 Pull Request (PR),该 PR 一经合并网站将自动更新。
  15. ## 如何贡献您的代码
  16. Fork -> Patch -> Push -> Pull Request
  17. ## 关于我们
  18. * [维护者信息](https://github.com/orgs/go-gitea/people)
  19. * [代码贡献者信息](https://github.com/go-gitea/docs/graphs/contributors)
  20. ## 许可证
  21. 此项目采用 Apache-2.0 许可协议,请参见 [协议文件](LICENSE) 获取更多信息。
  22. ## 版权声明
  23. ```
  24. Copyright (c) 2016 The Gitea Authors <https://gitea.io>
  25. ```