Skip to content

Commit

Permalink
Merge pull request #11 from helix-bridge/jay/search
Browse files Browse the repository at this point in the history
Support Search
  • Loading branch information
JayJay1024 authored Apr 22, 2024
2 parents c23dfd0 + 50fc3ac commit 540c8e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
15 changes: 7 additions & 8 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,7 @@ const config: Config = {
alt: "Helix Bridge Logo",
src: "img/logo.svg",
},
items: [
{
href: "https://github.com/helix-bridge",
label: "GitHub",
position: "right",
logo: '/img/logo.svg'
},
],
items: [],
},
footer: {
style: "dark",
Expand Down Expand Up @@ -106,6 +99,12 @@ const config: Config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
// Search
algolia: {
appId: "7XWR9R3HW7",
apiKey: "67f3045c29776f57ec82bc65447ebcb7",
indexName: "helixbridge",
},
} satisfies Preset.ThemeConfig,
};

Expand Down
5 changes: 5 additions & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Algolia-Crawler-Verif: C609519EC7EEFA36

User-agent: *
Allow: /
Sitemap: https://docs.helixbridge.app/sitemap.xml

0 comments on commit 540c8e0

Please sign in to comment.