Skip to content

resolves #17 publish the language support scripts and load into browser, if required (proposal 2)

  • create helper function to vendor JS file in UI catalog and return value for src attribute
  • vendor the scripts from lunr-languages if non-en languages are enabled
  • automatically generate the search-scripts.hbs partial and remove from supplemental_ui
  • set the SITE_SEARCH_LANGUAGES env var to a comma-separated list of non-en languages if non-empty
  • change search-script ID to search-ui-script to match filename
  • rename lunrSiteSearch.init to initSearch
  • check for globalThis proper

Merge request reports