While upgrading guides.18f.gov (https://github.com/18F/guides/pull/54) to the newest version of guides-style I noticed that a file called search-bundle.js is being requested by the template, but is missing, which is causing 404 errors to be shown on the server and in the client console.
In the case of guides.18f.gov, we don't even need or want search enabled because there really isn't any content there to search, so it would be nice if it could just be disabled altogether.
While upgrading guides.18f.gov (https://github.com/18F/guides/pull/54) to the newest version of
guides-style
I noticed that a file calledsearch-bundle.js
is being requested by the template, but is missing, which is causing404
errors to be shown on the server and in the client console.I haven't quite dug through all the pieces of this haystack, but it looks like that file should be somehow getting built by https://github.com/18F/jekyll_pages_api_search, which is included as a runtime dependency of
guides-style
(https://github.com/18F/guides-style/blob/master/guides-style-18f.gemspec#L27).In the case of guides.18f.gov, we don't even need or want search enabled because there really isn't any content there to search, so it would be nice if it could just be disabled altogether.