search does not work on docs
Closed this issue · 3 comments
Describe the bug
using https://thoth-station.ninja/docs/developers/adviser/search.html?q=sieve results in a list of results, if I click on any link, it results in a 404
To Reproduce
Steps to reproduce the behavior:
- Go to https://thoth-station.ninja/docs/developers/adviser/search.html?q=sieve
- Click on 'thoth.adviser.sieves'
- See error
/kind bug
/priority important-soon
/assign @harshad16
Took some time, however, figured out the reason for the issue.
It is causing due to the searchtool.js, which specifics file to be added from _sources
folder https://github.com/thoth-station/thoth-station.github.io/blob/0bd19640ce3b5caf2b4f7f3b26e04b1bd225bfb6/assets/searchtools.js#L538.
with our changing in sphinx build and moving the files around to support jekyll, all the files are moved to the sources folder.
while checking on this, got to understand we would have to change the logic of moving the file from _static
to assets
directory as some components are getting overwritten.
Line 66 in 2ac1d8d
will be sending in a pull request with the changes. 👍
Took some time, however, figured out the reason for the issue.
It is causing due to the searchtool.js, which specifics file to be added from_sources
folder https://github.com/thoth-station/thoth-station.github.io/blob/0bd19640ce3b5caf2b4f7f3b26e04b1bd225bfb6/assets/searchtools.js#L538.with our changing in sphinx build and moving the files around to support jekyll, all the files are moved to the sources folder.
while checking on this, got to understand we would have to change the logic of moving the file from
_static
toassets
directory as some components are getting overwritten.
Line 66 in 2ac1d8d
will be sending in a pull request with the changes.
Nice! Thanks! 👍