{"id":19438281,"url":"https://github.com/opensumi/gatsby-theme","last_synced_at":"2025-07-29T21:11:31.103Z","repository":{"id":38110390,"uuid":"498645451","full_name":"opensumi/gatsby-theme","owner":"opensumi","description":"The Gatsby theme for OpenSumi documentation site.","archived":false,"fork":false,"pushed_at":"2023-12-21T07:06:20.000Z","size":467,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-07T11:11:04.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensumi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-06-01T08:05:32.000Z","updated_at":"2023-05-12T07:15:41.000Z","dependencies_parsed_at":"2024-11-20T06:15:14.408Z","dependency_job_id":null,"html_url":"https://github.com/opensumi/gatsby-theme","commit_stats":{"total_commits":31,"total_committers":4,"mean_commits":7.75,"dds":"0.16129032258064513","last_synced_commit":"83b19547ffefd5cf61b0e00a9b5ebf0a8e383758"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/opensumi/gatsby-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fgatsby-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fgatsby-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fgatsby-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fgatsby-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensumi","download_url":"https://codeload.github.com/opensumi/gatsby-theme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensumi%2Fgatsby-theme/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267759412,"owners_count":24140065,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-10T15:17:40.281Z","updated_at":"2025-07-29T21:11:31.041Z","avatar_url":"https://github.com/opensumi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e This Theme is modified from [antvis/gatsby-theme-antv](https://github.com/antvis/gatsby-theme-antv), thanks for their contribute.\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cimg width=\"1200\" alt=\"homepage\" src=\"https://img.alicdn.com/imgextra/i1/O1CN01OlP4Ty27Wk3MXFSGX_!!6000000007805-2-tps-1369-889.png\"\u003e\n\n# Gatsby Theme for OpenSumi\n\n✨ Polished Gatsby theme for documentation site.\n\n[![](https://flat.badgen.net/npm/v/@opensumi/gatsby-theme?icon=npm)](https://www.npmjs.com/package/@opensumi/gatsby-theme)\n[![NPM downloads](http://img.shields.io/npm/dm/@opensumi/gatsby-theme.svg?style=flat-square)](http://npmjs.com/@opensumi/gatsby-theme)\n![CI status](https://github.com/opensumi/gatsby-theme/workflows/Node%20CI/badge.svg)\n![prettier code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)\n\n\u003c/div\u003e\n\n## Features\n\n- 🔍 Docsearch v3, React 18, Gatsby 4 supported.\n- 🎨 Prerendered static site\n- 🌎 Internationalization support by i18next\n- 📝 Markdown-based documentation and menus\n- 🏗 Unified Theme and Layout\n- 🎲 Easy customized header nav\n- 🧩 Built-in home page components\n\n## Develop\n\n```bash\nyarn\nyarn start\n```\n\nVisit https://localhost:8000 to preview.\n\n## Add Dependency\n\n```bash\ncd @opensumi/gatsby-theme\nyarn add shallowequal\n```\n\nor\n\n```bash\nyarn workspace @opensumi/gatsby-theme add shallowequal\n```\n\n## Q\u0026A\n\n### How to customise layout footer?\n\n```js\n// gatsby-browser.js\nexports.wrapPageElement = ({ element, props }) =\u003e {\n  return React.cloneElement(element, {\n    ...props,\n    ...element.props,\n    // https://github.com/react-component/footer#api\n    footerProps: {\n      bottom: 'xxx',\n    },\n  });\n};\n```\n\n### How to embed other markdown document in a markdown document\n\n```markdown\n`markdown:docs/common/data-mapping.zh.md`\n```\n\n_docs/common/data-mapping.zh.md_ is the path relative to the current project. It supports multiple levels of nested.\n\n## Related libraries\n\n- [Gatsby](https://www.gatsbyjs.org/docs/)\n- [Ant Design](https://github.com/ant-design/ant-design)\n- [gatsby-transformer-remark](https://www.gatsbyjs.org/packages/gatsby-transformer-remark/)\n- [gatsby-remark-prismjs](https://www.gatsbyjs.org/packages/gatsby-remark-prismjs/?=highlight#line-highlighting)\n- [Jest](https://jestjs.io/)\n- [Testing Library](https://testing-library.com/)\n- [react-i18next](https://react.i18next.com/)\n- [docsearch](https://docsearch.algolia.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensumi%2Fgatsby-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensumi%2Fgatsby-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensumi%2Fgatsby-theme/lists"}