-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add algolia searchbar Signed-off-by: Niels Bantilan <[email protected]> * update css and search.html filepath Signed-off-by: Niels Bantilan <[email protected]> --------- Signed-off-by: Niels Bantilan <[email protected]>
- Loading branch information
1 parent
43ab8bc
commit 342941c
Showing
7 changed files
with
179 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/*global docsearch*/ | ||
|
||
docsearch({ | ||
container: ".docsearch", | ||
appId: "WLG0MZB58Q", | ||
apiKey: "28bf9bfd4a77a7d6b3ab7e98c671e781", | ||
indexName: "flyte", | ||
searchParameters: { | ||
hitsPerPage: 10, | ||
// See https://www.algolia.com/doc/api-reference/api-parameters/ | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Algolia Docs Search Style */ | ||
.docsearch { | ||
width: 100% !important; | ||
} | ||
|
||
.DocSearch-Button { | ||
height: 60px !important; | ||
width: 100% !important; | ||
margin: 0px !important; | ||
border-radius: 0 !important; | ||
border-bottom: 1px solid var(--color-header-border) !important; | ||
background: var(--color-sidebar-background) !important; | ||
padding: 0 15px !important; | ||
} | ||
|
||
.DocSearch-Button:hover, .DocSearch-Button:active { | ||
box-shadow: none !important; | ||
background: var(--docsearch-searchbox-background) !important; | ||
} | ||
|
||
.sidebar-search-container::before { | ||
content: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters