18F / guides-style

DEPRECATED: 18F Guides Template style elements, derived from CFPB/DOCter
https://github.com/18F/uswds-jekyll
Other
11 stars 8 forks source link

search-bundle.js is missing, causing a 404 error on all pages of site that use guides-style #96

Closed jseppi closed 7 years ago

jseppi commented 7 years ago

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.

screen shot 2017-05-24 at 1 03 11 pm

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.

jseppi commented 7 years ago

Other sites are having this problem as well. For example https://partnership-playbook.18f.gov/ is also showing the 404 for search-bundle.js.