About the Search Engine

    <h2 id="activate-search">Activate search</h2>

If not already present, add the follow lines to the config.toml file.

[outputs]
home = [ "HTML", "RSS", "JSON"]

Docdock theme uses the last improvement available in hugo version 20+ to generate a json index file ready to be consumed by lunr.js javascript search engine.