mirror of https://github.com/dapr/docs.git
Add algoloia information
This commit is contained in:
parent
01d6e2b165
commit
c7418c5885
|
@ -0,0 +1,24 @@
|
|||
{{ with .Site.Params.algolia_docsearch }}
|
||||
<!-- Before the closing </head> -->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/docsearch.js@2.6.3/dist/cdn/docsearch.min.css"
|
||||
/>
|
||||
|
||||
<!-- Before the closing </body> -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2.6.3/dist/cdn/docsearch.min.js"></script>
|
||||
<script>
|
||||
docsearch({
|
||||
// Your apiKey and indexName will be given to you once
|
||||
// we create your config
|
||||
apiKey: '54ae43aa28ce8f00c54c8d5f544d29b9',
|
||||
indexName: 'crawler_dapr',
|
||||
appId: 'O0QLQGNF38',
|
||||
// Replace inputSelector with a CSS selector
|
||||
// matching your search input
|
||||
inputSelector: '.td-search-input',
|
||||
// Set debug to true to inspect the dropdown
|
||||
debug: false,
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
|
@ -0,0 +1,3 @@
|
|||
{{ with .Site.Params.algolia_docsearch }}
|
||||
<!-- stylesheet for algolia docsearch -->
|
||||
{{ end }}
|
Loading…
Reference in New Issue