Files
Mohit kumar BajoriaandGitHub 7447de6781 docs: Set relativeURL for Netlify. (#1612)
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
2020-12-07 10:21:15 -08:00

36 lines
1.1 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
</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>