Currently, the search function is only working for the currently displayed page. For example, if I click the search button from the R4Epi homepage, and search for the term "Welcome", it works as expected. However, if I search for the term "Goals", which appears on the very next page, no results are returned.
There was a conflicted copy of search_index.json in the docs folder. I deleted both copies of search_index.json and built the book again. Search seems to be working as expected again.
Currently, the search function is only working for the currently displayed page. For example, if I click the search button from the R4Epi homepage, and search for the term "Welcome", it works as expected. However, if I search for the term "Goals", which appears on the very next page, no results are returned.
I think this page might be helpful: https://community.rstudio.com/t/search-in-bookdown-not-working/91942