2021-09-12 17:41:19 +03:00
|
|
|
---
|
|
|
|
template: overrides/main.html
|
2021-09-12 19:59:36 +03:00
|
|
|
search:
|
|
|
|
exclude: true
|
2021-09-12 17:41:19 +03:00
|
|
|
---
|
|
|
|
|
|
|
|
# Blog
|
|
|
|
|
2021-09-26 18:53:29 +03:00
|
|
|
<h2>Excluding content from search</h2>
|
|
|
|
|
|
|
|
__The latest Insiders release brings three new simple ways to exclude dedicated
|
|
|
|
parts of a document from the search index, allowing for more fine-grained
|
|
|
|
control.__
|
|
|
|
|
|
|
|
Two weeks ago, Material for MkDocs Insiders shipped a brand new search plugin,
|
|
|
|
yielding massive improvements in usability, but also in speed and size of the
|
|
|
|
search index. Interestingly, as discussed in the previous blog article, we only
|
|
|
|
scratched the surface of what's now possible. This release brings some useful
|
|
|
|
features that enhance the writing experience, allowing for more fine-grained
|
|
|
|
control of what pages, sections and blocks of a Markdown file should be indexed
|
|
|
|
by the built-in search functionality.
|
|
|
|
|
|
|
|
[Continue reading :octicons-arrow-right-24:][2]{ .md-button }
|
|
|
|
|
|
|
|
[2]: 2021/excluding-content-from-search.md
|
|
|
|
|
|
|
|
|
2021-09-12 17:41:19 +03:00
|
|
|
<h2>Search: better, faster, smaller</h2>
|
|
|
|
|
2021-09-13 19:14:28 +03:00
|
|
|
__This is the story of how we managed to completely rebuild client-side search,
|
2021-09-13 20:06:33 +03:00
|
|
|
delivering a significantly better user experience while making it faster and
|
2021-09-13 19:14:28 +03:00
|
|
|
smaller at the same time.__
|
2021-09-12 17:41:19 +03:00
|
|
|
|
2021-09-13 19:14:28 +03:00
|
|
|
The search of Material for MkDocs is by far one of its best and most-loved
|
2021-09-13 20:06:33 +03:00
|
|
|
assets: multilingual, offline-capable, and most importantly: _all client-side_.
|
2021-09-13 19:14:28 +03:00
|
|
|
It provides a solution to empower the users of your documentation to find what
|
|
|
|
they're searching for instantly without the headache of managing additional
|
|
|
|
servers. However, even though several iterations have been made, there's still
|
|
|
|
some room for improvement, which is why we rebuilt the search plugin and
|
|
|
|
integration from the ground up. This article shines some light on the internals
|
2021-09-13 20:06:33 +03:00
|
|
|
of the new search, why it's much more powerful than the previous version, and
|
2021-09-13 19:14:28 +03:00
|
|
|
what's about to come.
|
2021-09-12 17:41:19 +03:00
|
|
|
|
|
|
|
[Continue reading :octicons-arrow-right-24:][1]{ .md-button }
|
|
|
|
|
|
|
|
[1]: 2021/search-better-faster-smaller.md
|