Skip to content

Custom search sample or ability to reload search index help needed #2615

Answered by squidfunk
Thermal-Shock asked this question in Q&A
Discussion options

You must be logged in to vote

As a start, the section on custom search explains how search works on a high level, but it's more dedicated to users who want to replace the search engine without losing the interface. I believe that what you're trying is certainly possible, but definitely tricky.

On a side note, Material for MkDocs is not a single page application, and thus not implemented on top of React. We use RxJS for all the plumbing, so a good understanding of that is definitely a plus when you want to dig into the internals. In general, the theme is very hackable and exposes a lot of what's going on to hook into.

This folder includes the whole search implementation, i.e. all parts that are of interest, some of whi…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Thermal-Shock
Comment options

@squidfunk
Comment options

@Thermal-Shock
Comment options

Answer selected by squidfunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants