{"id":23443310,"url":"https://github.com/swiftggteam/swift-org-website","last_synced_at":"2025-08-26T05:31:14.364Z","repository":{"id":269211152,"uuid":"906737455","full_name":"SwiftGGTeam/swift-org-website","owner":"SwiftGGTeam","description":"swift.org 中文官方翻译站","archived":false,"fork":false,"pushed_at":"2024-12-21T19:33:03.000Z","size":35904,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-21T20:18:13.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://swift.org.gg/","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SwiftGGTeam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct/index.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":"support/security.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-21T18:53:28.000Z","updated_at":"2024-12-21T19:34:52.000Z","dependencies_parsed_at":"2024-12-21T20:28:25.434Z","dependency_job_id":null,"html_url":"https://github.com/SwiftGGTeam/swift-org-website","commit_stats":null,"previous_names":["swiftggteam/swift-org-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftGGTeam%2Fswift-org-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftGGTeam%2Fswift-org-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftGGTeam%2Fswift-org-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftGGTeam%2Fswift-org-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwiftGGTeam","download_url":"https://codeload.github.com/SwiftGGTeam/swift-org-website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231000074,"owners_count":18313105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-23T18:17:39.175Z","updated_at":"2025-08-26T05:31:14.352Z","avatar_url":"https://github.com/SwiftGGTeam.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift.org 官方网站\n\n\u003e 本项目由 [SwiftGG 翻译组](https://swiftgg.team)负责翻译维护。\n\n\n## 概述\n\nSwift.org 网站的目标包括：\n\n1. 欢迎对 Swift 编程语言感兴趣的人。\n2. 与 Swift 用户社区和潜在用户分享知识，包括尽可能简单的 Swift 入门指南、用户指南、最佳实践、API 文档和功能公告。\n3. 与 Swift 贡献者社区和潜在贡献者分享知识，包括贡献指南、辅助贡献的技术细节、项目治理和法律信息。\n4. 突出展示社区驱动的计划和技术工作，这些工作适用于 Swift 在其所有或部分核心使用领域的用户。\n\n有关 Swift.org 网站目标、内容治理和贡献指南的更多信息，请参阅[网站概述](/website)。\n\n## 技术细节\n\nSwift.org 使用 [Jekyll](https://jekyllrb.com)，这是一个用 Ruby 编写的支持博客的静态站点生成器。\n\n### 本地运行\n\n要求：\n- Git\n- Ruby 3.3 或更高版本\n  _(推荐使用 Ruby 安装管理器，如\n  [rbenv](https://github.com/sstephenson/rbenv) 或\n  [RVM](https://rvm.io)，但不是必需的)_\n- [Bundler](https://bundler.io/)\n\n要在本地运行网站，请在终端窗口中输入以下命令：\n\n```shell\ngit clone https://github.com/swiftlang/swift-org-website.git\ncd swift-org-website\nbundle install\nLC_ALL=en_us.UTF-8 bundle exec jekyll serve --config _config.yml,_config_dev.yml\nopen \"http://localhost:4000\"\n\nIf you’d like to contribute to this project, please run Prettier before submitting your pull request to ensure consistent code style across the project.\n\nRequirements\n- [Node v18.17.1 or higher](https://nodejs.org)\n\n```shell\nnpm install\n```\n\n```shell\nnpm run prettify\n```\n\n### 在 Docker 中运行\n\n首先使用 Docker Compose 构建站点：\n\n```bash\ndocker compose run build\n```\n\n然后你可以运行站点：\n\n```bash\ndocker compose up website\n```\n\n网站将在 `http://localhost:4000` 上可用\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftggteam%2Fswift-org-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftggteam%2Fswift-org-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftggteam%2Fswift-org-website/lists"}