typeorm/docs/docsearch-scraper-config.json
Mohammed Gomaa d0b54544e9
fix: typesense doc sync (#11807)
Co-authored-by: Giorgio Boa <35845425+gioboa@users.noreply.github.com>
2025-11-28 15:03:18 +01:00

45 lines
1.1 KiB
JSON

{
"index_name": "typeorm-docs",
"start_urls": [
"https://typeorm.io/"
],
"sitemap_urls": [
"https://typeorm.io/sitemap.xml"
],
"allowed_domains":["typeorm.io"],
"sitemap_alternate_links": true,
"stop_urls": [],
"selectors": {
"lvl0": {
"selector": "(//ul[contains(@class,'menu__list')]//a[contains(@class, 'menu__link menu__link--sublist menu__link--active')]/text() | //nav[contains(@class, 'navbar')]//a[contains(@class, 'navbar__link--active')]/text())[last()]",
"type": "xpath",
"global": true,
"default_value": "Documentation"
},
"lvl1": "article h1, header h1",
"lvl2": "article h2",
"lvl3": "article h3",
"lvl4": "article h4",
"lvl5": "article h5, article td:first-child",
"lvl6": "article h6",
"text": "article p, article li, article td:last-child"
},
"strip_chars": " .,;:#",
"custom_settings": {
"separatorsToIndex": "_",
"attributesForFaceting": [],
"attributesToRetrieve": [
"hierarchy",
"content",
"anchor",
"url",
"url_without_anchor",
"type"
]
},
"conversation_id": [
"833762294"
],
"nb_hits": 0
}