{"id":18301659,"url":"https://github.com/swanhubx/swanlab-docs","last_synced_at":"2026-02-02T19:16:57.275Z","repository":{"id":236731513,"uuid":"776327837","full_name":"SwanHubX/SwanLab-Docs","owner":"SwanHubX","description":"SwanLab Official Documentation | SwanLab官方文档","archived":false,"fork":false,"pushed_at":"2026-01-16T13:22:57.000Z","size":375647,"stargazers_count":22,"open_issues_count":9,"forks_count":77,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T03:55:05.472Z","etag":null,"topics":["javascript","vite","vue3"],"latest_commit_sha":null,"homepage":"https://docs.swanlab.cn","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SwanHubX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-23T07:40:46.000Z","updated_at":"2026-01-16T13:23:01.000Z","dependencies_parsed_at":"2024-04-28T10:28:17.611Z","dependency_job_id":"7defa522-54d8-4c02-855e-b18d504710c1","html_url":"https://github.com/SwanHubX/SwanLab-Docs","commit_stats":null,"previous_names":["swanhubx/swanlab-docs"],"tags_count":158,"template":false,"template_full_name":null,"purl":"pkg:github/SwanHubX/SwanLab-Docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwanHubX%2FSwanLab-Docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwanHubX%2FSwanLab-Docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwanHubX%2FSwanLab-Docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwanHubX%2FSwanLab-Docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwanHubX","download_url":"https://codeload.github.com/SwanHubX/SwanLab-Docs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwanHubX%2FSwanLab-Docs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29017941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T18:51:31.335Z","status":"ssl_error","status_checked_at":"2026-02-02T18:49:20.777Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","vite","vue3"],"created_at":"2024-11-05T15:16:34.730Z","updated_at":"2026-02-02T19:16:57.250Z","avatar_url":"https://github.com/SwanHubX.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swanlab-docs\n\n为项目贡献的方式不仅仅是贡献代码，包括维护文档、在issue和群中答疑、提交bug等都是为swanlab项目贡献的方式！\n\n我们在[github仓库](https://github.com/SwanHubX/SwanLab-Docs)中托管了SwanLab的[官方文档](https://docs.swanlab.cn)，基于[vitepress](https://vitepress.dev/zh/guide/getting-started)。\n\n### 如何为文档做贡献\n\n很简单！只需要克隆项目、增添或修改Markdown文件、提交他们，再创建一个PR就可以。\n\n### 环境安装\n\n1. 克隆本仓库\n\n```bash\ngit clone https://github.com/SwanHubX/SwanLab-Docs\n```\n\n2. 安装依赖环境\n\n需要提前安装nodejs和npm，详细方法请查询[node官方教程](https://nodejs.org/en/download/package-manager)\n\n使用如下命令安装其他依赖项目\n\n```bash\nnpm add -D vitepress\n```\n\n### 本地运行文档\n\n如果进行本地开发或者预览文档，可在项目根目录运行：\n\n```bash\nnpm run docs:dev\n```\n\n如果要进行完整的编译打包，使用如下命令：\n\n```bash\nnpm run docs:build\nnpm run docs:preview\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswanhubx%2Fswanlab-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswanhubx%2Fswanlab-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswanhubx%2Fswanlab-docs/lists"}