Skip to content
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

restrict DocSearch to relevant parts of the site #77

Closed
3 tasks done
orbeckst opened this issue May 2, 2018 · 3 comments · Fixed by algolia/docsearch-configs#409
Closed
3 tasks done

restrict DocSearch to relevant parts of the site #77

orbeckst opened this issue May 2, 2018 · 3 comments · Fixed by algolia/docsearch-configs#409
Assignees
Labels
search site search, SEO

Comments

@orbeckst
Copy link
Member

orbeckst commented May 2, 2018

The new AlgoliaDoc Search from #73 indexes a large part of our site, as shown in the config file https://github.com/algolia/docsearch-configs/blob/master/configs/mdanalysis.json that was generated by the fine folks at Algolia. They already sensibly excluded code directories. But we still get hits that look like duplicates

I would like to restrict the search to make the hits more relevant

  • only show hits from the docs for releases
  • only show blog posts themselves, not paginated versions
  • use sitemap.xml, which is generated with jekyll-sitemap plugin
    - jekyll-sitemap
    in order to include all pages, especially any blog pages that might not show up in pagination (now that we omit pagination)

Unless anyone in @MDAnalysis/coredevs has any objections I will submit a PR to https://github.com/algolia/docsearch-configs to change the index paths.

@orbeckst
Copy link
Member Author

orbeckst commented May 2, 2018

@orbeckst
Copy link
Member Author

orbeckst commented May 2, 2018

Hm, did not realize that the comment in the other commit would close this one...

@orbeckst
Copy link
Member Author

orbeckst commented May 7, 2018

Closed with algolia/docsearch-configs#409

@orbeckst orbeckst closed this as completed May 7, 2018
@orbeckst orbeckst added the search site search, SEO label Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
search site search, SEO
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant