Build Parameters

As documented in the plugin itself, two build parameters are available.

args.ditasearch.configs

Specifies an optional search configuration file containing stopwords, stemming exceptions, and synonyms. This file can be merged with or replace the default configuration.

args.ditasearch.nohtml

Omit adding the search HTML to topics if you are including it yourself, for example, in a frameset or custom header and footer. The following values are supported:

  • true – Don’t add the search HTML to topics.
  • false (default) – The build adds <div class='ditasearch'> to the header and <script src='{path}/ditasearch.js'> to the footer.