carlosperate / jekyll-theme-rtd

Port of the Read the Docs theme to Jekyll to use with GitHub Pages.
https://carlosperate.github.io/jekyll-theme-rtd
BSD 2-Clause "Simplified" License
47 stars 74 forks source link

Search doesn't work at all. #12

Open billw2012 opened 4 years ago

billw2012 commented 4 years ago

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/

marksie1988 commented 4 years ago

I’m getting this same issue.

gp86041 commented 3 years ago

same issue here

christodoulos commented 3 years ago

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

AlexZeitler commented 3 years ago

@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

christodoulos commented 3 years ago

@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

AlexZeitler commented 3 years ago

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

kaanaksit commented 3 years ago

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:

jese11 commented 8 months ago

Same symptoms as @kaanaksit