mirror of
https://github.com/luxfi/zapdb.git
synced 2026-10-30 15:12:20 +00:00
Since we are in process of moving to Netlify, we need this change for docs to work. This change has no effect on current badger docs
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
</div>
|
||
</main>
|
||
|
||
<!-- DocSearch -->
|
||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
|
||
<script type="text/javascript">
|
||
if (window.docsearch) {
|
||
var version = 'latest';
|
||
var path = window.location.pathname;
|
||
var arr = /(?:\/)?((?:master)|(?:v[0-9][^\/]+))(?:\/)?.*$/.exec(path);
|
||
if (arr != null && arr.length > 1) {
|
||
version = arr[1];
|
||
}
|
||
|
||
window.docsearch({
|
||
apiKey: 'fe4cbc1640c6c87bbc5f099902d86f97',
|
||
indexName: 'dgraph',
|
||
inputSelector: '#algolia-doc-search',
|
||
algoliaOptions: { 'facetFilters': ["version:"+version] },
|
||
debug: false // Set debug to true if you want to inspect the dropdown
|
||
});
|
||
}
|
||
</script>
|
||
|
||
<script src='{{ relURL "/js/clipboard.min.js"}}'></script>
|
||
<script
|
||
src='{{ relURL "/js/dgraph.js"}}?{{ md5 (readFile "themes/hugo-docs/static/js/dgraph.js") }}'
|
||
></script>
|
||
<script>
|
||
hljs.initHighlightingOnLoad();
|
||
</script>
|
||
|
||
<script async src="//unpkg.com/@dgraph-io/community"></script>
|
||
</body>
|
||
</html>
|