From 6e7c3594298c7c303587f5e83e2a672b0e50ae10 Mon Sep 17 00:00:00 2001 From: TonyRL Date: Mon, 10 Jul 2023 15:00:39 +0000 Subject: [PATCH] docs: meilisearch index table --- scripts/docs-scraper/docs.rsshub.app.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/docs-scraper/docs.rsshub.app.json b/scripts/docs-scraper/docs.rsshub.app.json index c561a9858b237c..496abf6307cb97 100644 --- a/scripts/docs-scraper/docs.rsshub.app.json +++ b/scripts/docs-scraper/docs.rsshub.app.json @@ -13,10 +13,10 @@ "lvl3": ".theme-default-content h3", "lvl4": ".theme-default-content h4", "lvl5": ".theme-default-content h5", - "text": ".theme-default-content p, .docs-content li" + "text": ".theme-default-content p, .theme-default-content table" }, "strip_chars": " .,;:#", - "scrap_start_urls": true, + "scrap_start_urls": false, "min_indexed_level": 1, "custom_settings": { "displayedAttributes": [ @@ -53,5 +53,6 @@ "content" ], "sortableAttributes": ["anchor"] - } + }, + "selectors_exclude": [".badge", ".author"] }