Is there any way to add additional search index without algolia? #9804
-
I was making the website for Turing.jl, and they wanted to keep the documentation website and main website different so I made two repository for each website and there navbar and footer look exactly like each other, main website is served at turinglang.org through github pages and docs website is served at turinglang.org/docs. Now the issue is both website repos generate individual site and deploy site to there own gh-pages branch and this process generates different search.json for each site which ends up with a problem that both sites cannot search one another content!! So what I am asking is, Is there any way to generate common search index, or maybe add one site's search index to another site in any way possible? I do not want to use algolia! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I don't think so. You could try to study the contents of the .json file and write code to merge indices, but I think you're going to run into trouble with links to another top-level site. |
Beta Was this translation helpful? Give feedback.
-
It's solved, If any one have this common issue then you can refer these workflows: |
Beta Was this translation helpful? Give feedback.
It's solved, If any one have this common issue then you can refer these workflows:
Turing's main site: https://github.com/TuringLang/docs/blob/master/.github/workflows/publish.yml
Turing's docs site: https://github.com/TuringLang/turinglang.github.io/blob/main/.github/workflows/publish.yml