Files
wehub-resource-sync e071084ebe
govulncheck / govulncheck (push) Waiting to run
Harness (E2E) / Harnesses (mock LLM) (push) Waiting to run
Harness (E2E) / Provider harnesses (live LLM conformance) (push) Waiting to run
Lint / golangci-lint (push) Waiting to run
Run Tests / Unit Tests (push) Waiting to run
Run Tests / Etcd Integration Tests (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:40:33 +08:00

1.5 KiB

layout
layout
default

Search Documentation

Type below to search page titles and content.

<script src="https://cdn.jsdelivr.net/npm/fuse.js@6.6.2"></script> <script> (function(){ const pages = [ {% assign docs = site.pages | where_exp: "p", "p.url contains '/docs/'" %} {% for p in docs %} { url: '{{ p.url }}', title: {{ p.title | default: p.url | jsonify }}, content: {{ p.content | strip_html | replace: '\n',' ' | truncate: 400 | jsonify }} }{% unless forloop.last %},{% endunless %} {% endfor %} ]; const fuse = new Fuse(pages, { keys: ['title','content'], threshold: 0.4 }); const input = document.getElementById('gm-search'); const out = document.getElementById('gm-results'); input.addEventListener('input', function(){ const q = this.value.trim(); if(!q){ out.innerHTML=''; return; } const results = fuse.search(q, { limit: 12 }); out.innerHTML = '
    ' + results.map(r => '
  • '+ ''+r.item.title+'
    '+ ''+(r.item.content.substring(0,160))+'...'+ '
  • ').join('') + '
'; }); })(); </script>