jekyll-theme-rtd icon indicating copy to clipboard operation
jekyll-theme-rtd copied to clipboard

Search doesn't work at all.

Open billw2012 opened this issue 5 years ago • 8 comments
trafficstars

I just get 404 page regardless of what I search for on the demo pages and my own. My pages: https://sparker95.github.io/Vindicta/

billw2012 avatar Feb 02 '20 19:02 billw2012

I’m getting this same issue.

marksie1988 avatar Apr 21 '20 21:04 marksie1988

same issue here

gp86041 avatar Nov 12 '20 01:11 gp86041

I copied search.html and search_data.json into the docs folder and search works as expected.

christodoulos avatar Apr 01 '21 10:04 christodoulos

@christodoulos Do you publish to a GH page with a repository similar to your username or a arbitrary public repository? If it is public, maybe you can share a link?

I copied the files as you suggested, but search still returns a 404: https://pdmlab.github.io/docker-compose/

This is my docs folder: https://github.com/PDMLab/docker-compose/tree/use-read-the-docs-theme/docs

AlexZeitler avatar Apr 10 '21 16:04 AlexZeitler

@AlexZeitler

I copied the files as you suggested, but search still returns a 404: https://pdmlab.github.io/docker-compose/

There is no search box there. Am I missing something?

This is my docs folder: https://github.com/PDMLab/docker-compose/tree/use-read-the-docs-theme/docs

I get a 404 error following the link

christodoulos avatar Apr 11 '21 07:04 christodoulos

@christodoulos I've switched to Vuepress for my docs.

AlexZeitler avatar Apr 11 '21 11:04 AlexZeitler

Thank you for putting this all together and making it happen!

In my project, https://kunguz.github.io/odak/, I use your theme. I configured it by adding:

https://github.com/kunguz/odak/blob/40bc94f2bb256b535ea7d4008eb9555c51f65197/docs/_config.yml#L1

Note that this page is Github project page. I installed the site using:

mkdocs gh-deploy --clean --config-file mkdocs.yml

I have copied the search.html and search_data.json to the docs folder as suggested. Here are the symptoms that I encounter in my case:

  • [ ] Search directs the query to https://kunguz.github.io/search.html?q=installation rather than https://kunguz.github.io/odak/search.html?q=installation.
  • [ ] Even if I manually pass https://kunguz.github.io/odak/search.html?q=installation to the address bar of my browser, the search is stuck at searching.... It does not return any result.

kaanaksit avatar Aug 30 '21 22:08 kaanaksit

Same symptoms as @kaanaksit

jese11 avatar Feb 14 '24 17:02 jese11