mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added support for pass custom search transform
This commit is contained in:
parent
635343544e
commit
64caf62835
File diff suppressed because one or more lines are too long
1
material/assets/javascripts/bundle.aa7a7592.min.js.map
Normal file
1
material/assets/javascripts/bundle.aa7a7592.min.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.b5589e46.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.aa7a7592.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.b5589e46.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.aa7a7592.min.js.map",
|
||||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.3340e0de.min.js",
|
"assets/javascripts/vendor.js": "assets/javascripts/vendor.3340e0de.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.3340e0de.min.js.map",
|
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.3340e0de.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.3bc815f0.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.3bc815f0.min.js",
|
||||||
|
@ -175,7 +175,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/vendor.3340e0de.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/vendor.3340e0de.min.js' | url }}"></script>
|
||||||
<script src="{{ 'assets/javascripts/bundle.b5589e46.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.aa7a7592.min.js' | url }}"></script>
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -266,7 +266,7 @@ export function initialize(config: unknown) {
|
|||||||
/* Mount search query */
|
/* Mount search query */
|
||||||
const query$ = useComponent("search-query")
|
const query$ = useComponent("search-query")
|
||||||
.pipe(
|
.pipe(
|
||||||
mountSearchQuery(worker),
|
mountSearchQuery(worker, { transform: config.search.transform }),
|
||||||
shareReplay(1)
|
shareReplay(1)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user