Get Algolia search box working again

This commit is contained in:
pgonzal 2018-09-05 11:06:19 -07:00
Родитель f4308f61f7
Коммит c75999cca9
2 изменённых файлов: 13 добавлений и 2 удалений

Просмотреть файл

@ -17,6 +17,17 @@ and run the solution locally:
2. Start the local web server with `bundle exec jekyll serve` or for incremental builds run `bundle exec jekyll serve --incremental`.
3. Once the site has been generated you'll be able to navigate to it at [http://127.0.0.1:4000/](http://127.0.0.1:4000/).
## Regenerating the search index
1. Log in to the https://www.algolia.com/ dashboard using the "rushbot" GitHub alias
2. Confirm that the Search-Only API Key and Application ID match the definitions in _config.yml
3. Run this command:
```
set ALGOLIA_API_KEY=(your_admin_api_key)
bundle exec jekyll algolia
```
# Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a

Просмотреть файл

@ -81,9 +81,9 @@ sass:
# Settings for https://github.com/algolia/jekyll-algolia
# Our login account is: @rushbot (GitHub alias)
algolia:
application_id: 'MMJOXTLRT5'
application_id: 'W2G1E3U5T0'
index_name: 'rushjs.io'
search_only_api_key: '01b32d3d6bf177d93c0bac0fd71ae7ba'
search_only_api_key: 'a0ab6dfc3db0c301b0ca8e725af85641'
# Use the following plug-ins
plugins: