mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
Add algolia search
This commit is contained in:
1 parent
a8be760943
commit
ed40d0d67a
2 files changed
+12
-2
No files matched your search
@@ -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,
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
@@ -73,3 +73,7 @@ a:focus,
|
||||
a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.DocSearch-Hit[aria-selected='true'] a {
|
||||
background-color: #119e7f !important;
|
||||
}
|
||||
Reference in new issue
Block a user