Docker-Docs/search.md

58 lines
2.0 KiB
Markdown
Raw Normal View History

2020-11-18 13:32:27 -05:00
---
description: Docker documentation search results
keywords: Search, Docker, documentation, manual, guide, reference, api
noratings: true
notoc: true
notags: true
title: "Docs search"
skip_read_time: true
---
<style type='text/css'>
#my-cse1 { all: initial !important; all: default !important; }
#my-cse1 table, #my-cse1 table tr, #my-cse1 table tr th, #my-cse1 table tr td, .gs-bidi-start-align { border: 0 !important; padding: 0 !important; line-height: initial !important; margin: 0 !important; }
.gs-snippet { margin-top: 0 !important; margin-bottom: 0 !important; padding: 0 !important; color: #999}
.gs-webResult .gs-result .gs-no-results-result { padding: 10px !important; }
.gs-per-result-labels { display: none !important; }
.gsc-url-top, .gsc-thumbnail-inside, .gs-spelling { padding: 0 !important; }
.gcsc-branding { padding-right: 0 !important; }
.gsc-tabHeader.gsc-tabhActive, .gsc-tabsArea { border-color: #CCC !important; }
.gcs-input, #gsc-i-id1 { padding: 5px 5px 5px 5px !important; }
#gscb_a, .gscb_a { padding: 3px 0 0 0 !important;}
.gsc-control-cse, .gsc-control-cse-en { padding: 0 !important; }
.gsc-result-info { padding-bottom: 0 !important; }
.gsc-adBlock { display: none; }
</style>
<div id="my-cse1">
<script>
(function() {
2020-11-24 23:00:23 -05:00
const cx = 'partner-pub-4797644559430915:w19m59-ljt4';
2020-11-18 13:32:27 -05:00
let gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
let s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:searchresults-only></gcse:searchresults-only>
</div>
<script defer>
(function() {
let query = new URLSearchParams(window.location.search);
if (query.has("q")) {
let h = document.querySelector("h1");
if (h) {
h.textContent += " results for: " + query.get("q");
}
let s = document.querySelector("#st-search-input");
if (s && s instanceof HTMLInputElement) {
s.value = query.get("q");
}
}
})();
</script>