Unverified Commit 2ebb44cc authored by Yifan Xiong's avatar Yifan Xiong Committed by GitHub
Browse files

Docs - Support docsearch in website (#184)

Support docsearch in website, powered by [Algolia](https://docsearch.algolia.com).
parent e2453e1c
...@@ -104,6 +104,11 @@ module.exports = { ...@@ -104,6 +104,11 @@ module.exports = {
'📢 <a href="https://microsoft.github.io/superbenchmark/blog/release-sb-v0.2">v0.2.1</a> has been released! ' + '📢 <a href="https://microsoft.github.io/superbenchmark/blog/release-sb-v0.2">v0.2.1</a> has been released! ' +
'⭐️ If you like SuperBench, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/microsoft/superbenchmark">GitHub</a>! ⭐️', '⭐️ If you like SuperBench, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/microsoft/superbenchmark">GitHub</a>! ⭐️',
}, },
algolia: {
apiKey: '6809111d3dabf59fe562601d591d7c53',
indexName: 'superbenchmark',
contextualSearch: true,
},
prism: { prism: {
theme: lightCodeTheme, theme: lightCodeTheme,
darkTheme: darkCodeTheme, darkTheme: darkCodeTheme,
......
This diff is collapsed.
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"dependencies": { "dependencies": {
"@docusaurus/core": "2.0.0-beta.1", "@docusaurus/core": "2.0.0-beta.1",
"@docusaurus/preset-classic": "2.0.0-beta.1", "@docusaurus/preset-classic": "2.0.0-beta.1",
"@docusaurus/theme-search-algolia": "^2.0.0-beta.4",
"@mdx-js/react": "^1.6.21", "@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0", "@svgr/webpack": "^5.5.0",
"clsx": "^1.1.1", "clsx": "^1.1.1",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment