-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The UI doesn't load in, so search doesn't work (null err from docsearch.js).
I tried to debug it, but the file is uglified, so it's too difficult to debug (keep an eye out for a feat request to un-uglify these so we can help you guys debug).
More context, screenshots, and [very dirty] workarounds in the Docsearch Discord thread
TL;DR:
<div class="search-button__wrapper">
<div class="search-button__overlay"></div>
<div class="search-button__search-container">
<form class="bd-search d-flex align-items-center"
action="search.html"
method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search"
class="form-control"
name="q"
id="search-input"
placeholder="Search..."
aria-label="Search..."
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"/>
<span class="search-button__kbd-shortcut">
<kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd>
</span>
</form>
</div>
</div>The ultra-dirty workaround is to copy+paste this into source/_templates/layout.html to inject this directly in instead of awaiting generation. The other js containing the api keys and such still spawn np.
Metadata
Metadata
Assignees
Labels
No labels
