diff --git a/docs/js/custom.js b/docs/js/custom.js index 9a68a3bc..28eeaa1f 100644 --- a/docs/js/custom.js +++ b/docs/js/custom.js @@ -75,6 +75,12 @@ $(document).ready(function() { } }); + $('.md-content a:not(.md-icon):not(.md-source):not(.instantsearch__entry)') + .filter(function() { + return this.hostname && this.hostname !== location.hostname; + }) + .addClass('external'); + docsearch({ container: '#docsearch', appId: 'WLX2XJZTRM',