mirror of
https://github.com/tauri-apps/tauri-search.git
synced 2026-02-04 02:41:20 +01:00
chore: made sure that push-caches CLI creates the indexes before pushing docs (so that Model's config is used)
33 lines
699 B
JSON
33 lines
699 B
JSON
{
|
|
"index_uid": "rust-api",
|
|
"start_urls": ["https://docs.rs/tauri/latest/tauri"],
|
|
"sitemap_urls": [],
|
|
"selectors": {
|
|
"lvl0": {
|
|
"selector": "h1",
|
|
"global": true,
|
|
"default_value": "Title"
|
|
},
|
|
"lvl1": {
|
|
"selector": "h2",
|
|
"global": true,
|
|
"default_value": "Section"
|
|
},
|
|
"lvl2": "null",
|
|
"lvl3": ".docblock-short",
|
|
"lvl4": "h4",
|
|
"lvl5": "h5",
|
|
"lvl6": "null",
|
|
"text": "#main"
|
|
},
|
|
"strip_chars": " .,;:#",
|
|
"scrap_start_urls": true,
|
|
"custom_settings": {
|
|
"synonyms": {
|
|
"relevancy": ["relevant", "relevance"],
|
|
"relevant": ["relevancy", "relevance"],
|
|
"relevance": ["relevancy", "relevant"]
|
|
}
|
|
}
|
|
}
|