Reorganize and refine the docs search documentation
What does this MR do and why?
Reorganize the documentation search docs so that the two kinds of search are introduced first, then parallel sections for doing local builds using one or the other kind of search.
Testing
-
Check out this branch. -
Run SEARCH_BACKEND="lunr" make view
. Open local site and Lunr.js search works. -
Run SEARCH_BACKEND="google" make view
. Open local site and Google Programmable Search works, assumingGOOGLE_SEARCH_KEY
is set. -
Run make view
. Open local site and Google Programmable Search works, assumingGOOGLE_SEARCH_KEY
is set. -
Run SEARCH_BACKEND="test" make view
. Compilation aborts.
Screenshots, screen recordings, or links to review app
- Before: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/59170c1b8011024d39821f83865667105ee0da63/doc/search.md
- After: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/278499d744298828a86540ffb0977cfea62fcf68/doc/search.md
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.
Edited by Evan Read