-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host search.js file in this repository #229
Comments
It might be best if the search JS is retrieved from a central location, so that it can easily be rolled out to all sites, rather than having to rebuild each site. The JS file can be hosted by the deploy repo, since it is coupled to the Elasticsearch configuration. |
As part of this, can update to follow the style guide (notably, removing jQuery): https://ocp-software-handbook.readthedocs.io/en/latest/javascript/index.html |
Can use https://www.jsdelivr.com/ instead of raw.githubusercontent.com |
Can also document what needs to be updated if indexing approach or search endpoint change:
Search endpoint:
standard_theme
Indexing:
deploy-docs.sh
indeploy
repodeploy
repo (also need to update link to search.js in docs.rst)The text was updated successfully, but these errors were encountered: