{"id":15998105,"url":"https://github.com/maptalks/docs","last_synced_at":"2026-02-06T05:31:52.114Z","repository":{"id":230134974,"uuid":"777624232","full_name":"maptalks/docs","owner":"maptalks","description":"dev repo for maptalks site based on vitepress","archived":false,"fork":false,"pushed_at":"2024-12-09T09:49:41.000Z","size":73908,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-21T16:46:43.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/maptalks.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}},"created_at":"2024-03-26T07:53:41.000Z","updated_at":"2025-04-20T11:00:48.000Z","dependencies_parsed_at":"2024-05-31T06:57:06.619Z","dependency_job_id":null,"html_url":"https://github.com/maptalks/docs","commit_stats":null,"previous_names":["fuzhenn/builder-docs","maptalks/docs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maptalks/docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maptalks%2Fdocs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maptalks%2Fdocs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maptalks%2Fdocs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maptalks%2Fdocs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maptalks","download_url":"https://codeload.github.com/maptalks/docs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maptalks%2Fdocs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29152426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"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":[],"created_at":"2024-10-08T08:07:12.896Z","updated_at":"2026-02-06T05:31:52.092Z","avatar_url":"https://github.com/maptalks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maptalks web site\n\n## 添加文档的步骤\n### 添加中文文档\n* 在guide/目录下合适的位置创建md\n* 修改.vitepress/config/zh.ts中sidebarGuide方法，增加一个sidebar item\n  * sidebar item的link应指向md，例如```guide/path/to/foo.md```，link写为```'path/to/foo'```（无扩展名）\n* 完成后提交文档并创建pr\n\n### 添加中文文档\n* 在en/guide/目录下创建md\n* 修改.vitepress/config/en.ts中sidebarGuide方法，增加一个sidebar item\n  * sidebar item的link指向md，例如```en/guide/path/to/foo.md```，link写为```'path/to/foo'```\n* 完成后提交文档并创建pr\n\n## 添加示例的步骤\n\n\u003e vitepress的资源文件必须放在public目录下\n\n## 添加中文示例\n假设示例的路径为foo\n* 在examples/src目录下新建foo目录\n* 在examples/src/foo目录下新建description.md，编写示例文档\n* 在public/examples/下新建foo目录\n* 在public/examples/foo下新建index.html，写入示例程序\n\n## 添加英文示例\n假设示例的路径为foo\n* 在en/examples/src目录下新建foo目录\n* 在en/examples/src/foo目录下新建description.md，编写示例文档\n* 在public/en/examples/下新建foo目录\n* 在public/en/examples/foo下新建index.html，写入示例程序\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaptalks%2Fdocs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaptalks%2Fdocs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaptalks%2Fdocs/lists"}