-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new search index and auto scraping in CI (#1082)
* meilisearch evaluation * correctly group categories * dry-run automatic index update * use api key from secret * temporarily use default searchbar css * throw together some fixes for our custom css * don't overflow/no-wrap title * Delete algolia.html * revert SearchBar/index.js changes * typo * Switch to meilisearch cloud!!! * test scraper upload * revert test * update netlify action * line clamp * don't include function signature in text selector
- Loading branch information
1 parent
29bcd25
commit b805cfa
Showing
4 changed files
with
142 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"index_uid": "docs-v1", | ||
"start_urls": [ | ||
{ | ||
"url": "https://tauri.app/v1/guides/", | ||
"selectors_key": "guides" | ||
}, | ||
{ | ||
"url": "https://tauri.app/v1/api/js/", | ||
"selectors_key": "api-js" | ||
}, | ||
{ | ||
"url": "https://tauri.app/v1/references/", | ||
"selectors_key": "references" | ||
}, | ||
"https://tauri.app/v1/" | ||
], | ||
"sitemap_urls": ["https://tauri.app/sitemap.xml"], | ||
"stop_urls": [], | ||
"selectors": { | ||
"default": { | ||
"lvl0": "article h1", | ||
"lvl1": "article h2", | ||
"lvl2": "article h3", | ||
"lvl3": "article h4", | ||
"lvl4": "article h5", | ||
"text": "article p, article li" | ||
}, | ||
"guides": { | ||
"lvl0": { | ||
"selector": "", | ||
"default_value": "Documentation" | ||
}, | ||
"lvl1": "article h1", | ||
"lvl2": "article h2", | ||
"lvl3": "article h3", | ||
"lvl4": "article h4", | ||
"lvl5": "article h5", | ||
"text": "article p, article li" | ||
}, | ||
"api-js": { | ||
"lvl0": { | ||
"selector": "", | ||
"default_value": "JS API" | ||
}, | ||
"lvl1": "article h1", | ||
"lvl2": "article h2", | ||
"lvl3": "article h3", | ||
"lvl4": "article h4", | ||
"lvl5": "article h5", | ||
"text": "article :not(blockquote) > p, article li" | ||
}, | ||
"references": { | ||
"lvl0": { | ||
"selector": "", | ||
"default_value": "References" | ||
}, | ||
"lvl1": "article h1", | ||
"lvl2": "article h2", | ||
"lvl3": "article h3", | ||
"lvl4": "article h4", | ||
"lvl5": "article h5", | ||
"text": "article p, article li" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters