mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Looks like removing the front-matter in f17ebae568
caused the output to break, resulting in a JavaScript error.
Looking at where this file was used, it turned out that it was loaded, but
never used anywhere.
This commit removes the remaining parts of the glossary search functionality,
which was not used.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2.1 KiB
2.1 KiB
description, keywords, noratings, notoc, notags, title, skip_read_time
| description | keywords | noratings | notoc | notags | title | skip_read_time |
|---|---|---|---|---|---|---|
| Docker documentation search results | Search, Docker, documentation, manual, guide, reference, api | true | true | true | Docs search | true |
<script>
(function() {
var cx = '005610573923180467403:iwlnuvjqpv4';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<script defer>
setTimeout(function(){
$(document).ready(function() {
let searchTerm = decodeURI(queryString().q);
if(searchTerm != 'undefined' && searchTerm != "") {
$("#st-search-input").val(searchTerm);
$("#st-search-input").focus();
// Update heading with term user searched for
let currHeading = $("h1").text();
$("h1").text(currHeading + " results for: " + searchTerm);
}
});
}, 1);
</script>
gcse:searchresults-only</gcse:searchresults-only>