Skip to content

update algolia to new index and search box#212

Merged
orbeckst merged 2 commits intomasterfrom
switch-algolia
Nov 30, 2021
Merged

update algolia to new index and search box#212
orbeckst merged 2 commits intomasterfrom
switch-algolia

Conversation

@orbeckst
Copy link
Member

@orbeckst
Copy link
Member Author

For a preview of the new search box see https://orbeckst.github.io/MDAnalysis.github.io/

- use new appId and key (from UI)
- use newer integration with docs from https://github.com/algolia/docsearch
  - new CSS
  - new JS
@orbeckst
Copy link
Member Author

I also updated the wiki page on search.

@orbeckst
Copy link
Member Author

orbeckst commented Nov 23, 2021

Notes on styling the search; files are in https://github.com/algolia/docsearch/tree/next/packages/docsearch-css for inspection.

In particular, if we could change/override https://github.com/algolia/docsearch/blob/next/packages/docsearch-css/src/_variables.css then at least we can use MDA colors.

@orbeckst
Copy link
Member Author

Applied minimal styling to make the search box feel a bit more "MDA"
Screen Shot 2021-11-23 at 4 04 56 PM

This was surprisingly simple with the clean CSS that algolia provides — just pick what you need from _variables.css and override locally.

@orbeckst
Copy link
Member Author

@fiona-naughton @lilyminium @richardjgowers could someone please spare a few minutes to look over this PR? Thanks.

@orbeckst orbeckst merged commit 3bcad4c into master Nov 30, 2021
@orbeckst orbeckst deleted the switch-algolia branch November 30, 2021 23:13
PicoCentauri pushed a commit to PicoCentauri/MDAnalysis.github.io that referenced this pull request Nov 25, 2025
* close MDAnalysis#211 
* update algolia to new index and search box
  - use new appId and key (from UI)
  - use newer integration with docs from https://github.com/algolia/docsearch
    - new CSS
    - new JS
* algolia search modal in MDA style (orange)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

migrate DocSearch to Algolia Crawler

2 participants