mkdocs-alabaster icon indicating copy to clipboard operation
mkdocs-alabaster copied to clipboard

Fix search [WIP]

Open moigagoo opened this issue 6 years ago • 4 comments

Fix #26

moigagoo avatar Jul 21 '19 12:07 moigagoo

So far I've only managed to remove the base_url is not defined error by moving base_url definition from search.html upstream to main.html. The search doesn't work though.

moigagoo avatar Jul 21 '19 12:07 moigagoo

For some reason, search.html is not accessible even if include_search_page is true. Tried putting it in search/search.html, no result.

Interestingly, 404.html seems to not be accessible either.

moigagoo avatar Jul 21 '19 13:07 moigagoo

Your changes fix the search functionality for me. (Windows 10, Python 3.6.1 mkdocs 1.0.4)

But I also see a broken 404 page.

justinpinkney avatar Jan 22 '20 20:01 justinpinkney

Looks like the 404 issue is an upstream problem with mkdocs https://github.com/mkdocs/mkdocs/issues/1785

justinpinkney avatar Jan 23 '20 06:01 justinpinkney