Skip to content

Commit

Permalink
feat: 🎸 added search input (nodejs#2993)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalverson authored and Mert Can Altin committed Mar 26, 2024
1 parent 8cf5487 commit 4eaf160
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 4eaf160

Please sign in to comment.