TIP: Search Documentation Faster

We have a “left-nav” document in our Documentation center to show naming conventions for new documents. Recently I realized how many times we click back to the main documentation page simply to access the search box. The thought came to me that perhaps the search box could be cloned into the “left-nav” document allowing searching directly from there, saving a lot of clicks and page load time.

Well, it worked!

All I had to do was edit the left-nav in HTML view and insert the OuterHTML I copied from the main page:

<form class="simple_form form-inline" novalidate="novalidate" action="/documentation" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="?">
      <input class="string required form-control form-control" placeholder="Search" type="text" name="wiki_search[query]" id="wiki_search_query">
      <input type="submit" name="commit" value="Search" class="btn btn-default btn-sm" data-disable-with="Search">
</form>

I hope this helps some of ya’ll!