Skip to content

Commit

Permalink
feat: 馃幐 added search input (#2993)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalverson committed Mar 25, 2024
1 parent c9acca9 commit f9cdf56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
name: 'Node.js Undici',
repo: 'https://github.com/nodejs/undici',
loadSidebar: 'docsify/sidebar.md',
search: {
noData: {
'/': 'No results!'
},
paths: ['docs/'],
placeholder: {
'/': 'Search'
}
},
auto2top: true,
subMaxLevel: 3,
maxLevel: 3,
Expand All @@ -28,6 +37,7 @@
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<script type="module">
import mermaid from "//cdn.jsdelivr.net/npm/mermaid@10.8.0/+esm";
mermaid.initialize({ startOnLoad: true });
Expand Down

0 comments on commit f9cdf56

Please sign in to comment.