This Theme is modified from @opensumi/gatsby-theme, thanks for their contribute.
# Scaleph Gatsby Theme for website
✨ Polished Gatsby theme for documentation website.
- 🔍 Docsearch v3, React 18, Gatsby 4 supported.
- 🎨 Prerendered static site
- 🌎 Internationalization support by i18next
- 📝 Markdown-based documentation and menus
- 🏗 Unified Theme and Layout
- 🎲 Easy customized header nav
- 🧩 Built-in home page components
yarn
yarn start
Visit https://localhost:8000 to preview.
cd @opensumi/gatsby-theme
yarn add shallowequal
or
yarn workspace @opensumi/gatsby-theme add shallowequal
// gatsby-browser.js
exports.wrapPageElement = ({ element, props }) => {
return React.cloneElement(element, {
...props,
...element.props,
// https://github.com/react-component/footer#api
footerProps: {
bottom: 'xxx',
},
});
};
`markdown:docs/common/data-mapping.zh.md`
docs/common/data-mapping.zh.md is the path relative to the current project. It supports multiple levels of nested.