diff --git a/configs/solace.json b/configs/solace.json index b9c6df03e..620e78154 100644 --- a/configs/solace.json +++ b/configs/solace.json @@ -1,18 +1,63 @@ { "index_name": "solace", "start_urls": [ + { + "url": "https://docs.solace.com/API-Developer-Online-Ref-Documentation/c/", + "selectors_key": "api_reference_guide_c", + "tags": [ + "api_reference_guide", + "c" + ] + }, + { + "url": "https://docs.solace.com/API-Developer-Online-Ref-Documentation/net", + "selectors_key": "api_reference_guide_net", + "tags": [ + "api_reference_guide", + "net" + ] + }, + { + "url": "https://docs.solace.com/API-Developer-Online-Ref-Documentation/jrto/", + "selectors_key": "api_reference_guide", + "tags": [ + "api_reference_guide", + "jrto" + ] + }, + { + "url": "https://docs.solace.com/API-Developer-Online-Ref-Documentation/java/", + "selectors_key": "api_reference_guide", + "tags": [ + "api_reference_guide", + "java" + ] + }, + { + "url": "https://docs.solace.com/API-Developer-Online-Ref-Documentation/", + "selectors_key": "api_reference_guide", + "tags": [ + "api_reference_guide" + ] + }, { "url": "https://docs.solace.com/", - "tags": "docs" + "tags": [ + "docs" + ] }, { "url": "https://cloud.solace.com/learn/", "selectors_key": "learning_center", - "tags": "learning_center" + "tags": [ + "learning_center" + ] } ], "stop_urls": [ - "/API-Developer-Online-Ref-Documentation/" + "html\\?", + "/API-Developer-Online-Ref-Documentation/java/index-all.html", + "-example.html$" ], "selectors": { "default": { @@ -37,13 +82,54 @@ "lvl4": ".section h4", "lvl5": ".section h6", "text": ".section p, .section li" + }, + "api_reference_guide": { + "lvl0": { + "selector": "", + "global": true, + "default_value": "API Developer Online Ref" + }, + "lvl1": { + "selector": ".header h2.title", + "global": true + }, + "lvl2": ".summary, .details h3", + "lvl3": ".summary h4, .details h4", + "lvl4": ".details .strong", + "text": ".contentContainer .block, .contentContainer dd" + }, + "api_reference_guide_net": { + "lvl0": { + "selector": "", + "global": true, + "default_value": "API Developer Online Ref" + }, + "lvl1": ".titleColumn h1", + "text": ".topicContent > p, .topicContent > .summary" + }, + "api_reference_guide_c": { + "lvl0": { + "selector": "", + "global": true, + "default_value": "API Developer Online Ref" + }, + "lvl1": ".contents h1", + "lvl2": ".contents h2", + "lvl3": ".contents h3,.contents td.memname", + "lvl4": ".contents h4", + "lvl5": ".contents h5", + "text": ".contents p, .contents li" } }, "selectors_exclude": [ - "[class^=Code_Snippet]" + "[class^=Code_Snippet]", + "[summary]" ], + "custom_settings": { + "separatorsToIndex": "_" + }, "conversation_id": [ "702227168" ], - "nb_hits": 24726 + "nb_hits": 49041 } \ No newline at end of file