Add algolia search

This commit is contained in:
Luke committed 2022-05-12 15:01:01 +02:00
1 parent a8be760943
commit ed40d0d67a
2 files changed
+12 -2

No files matched your search

+8 -2
View File
@@ -16,7 +16,7 @@ const config = {
organizationName: 'overextended', // Usually your GitHub org/user name.
projectName: 'overextended.github.io', // Usually your repo name.
// plugins: ['@docusaurus/'],
// plugins: ['@docusaurus/'],
presets: [
[
@@ -80,7 +80,13 @@ const config = {
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ['lua']
additionalLanguages: ['lua'],
},
algolia: {
appId: '8XXXVNJ7UW',
apiKey: '3680aeb79049744c6629dd0abd2f5dfe',
indexName: 'overextended',
contextualSearch: true,
},
}),
};
+4
View File
@@ -73,3 +73,7 @@ a:focus,
a:active {
text-decoration: none;
}
.DocSearch-Hit[aria-selected='true'] a {
background-color: #119e7f !important;
}