A way to clone/edit the built in search engine ? #5829
-
Hello, this is my first time asking for help on Github Discussions. Im currently working on updating a company's intern documentation and turned to mkdocs-material due to its easy to use interface and good looking visuals. So my question is the following : Is there a way to clone the built-in search engine into its own plugin or make it so that I can simply add code (not just the options in the yml files) to the existing engine and update it to whatever they would like ? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Absolutely possible! You could extract the search plugin into a separate project and manage from there. Note that search consists of two parts: index generation (search plugin) and the actual search UI (frontend). The search UI is part of Material for MkDocs and likely harder to cut out cleanly, but it should be possible as well. Another idea might be to just fork the entire repository and change the parts you need adjusted |
Beta Was this translation helpful? Give feedback.
Absolutely possible! You could extract the search plugin into a separate project and manage from there. Note that search consists of two parts: index generation (search plugin) and the actual search UI (frontend). The search UI is part of Material for MkDocs and likely harder to cut out cleanly, but it should be possible as well. Another idea might be to just fork the entire repository and change the parts you need adjusted☺️