config.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "index_name": "vendure-docs",
  3. "start_urls": [
  4. "https://docs.vendure.io/"
  5. ],
  6. "sitemap_urls": [
  7. "https://docs.vendure.io/sitemap.xml"
  8. ],
  9. "allowed_domains":["docs.vendure.io"],
  10. "sitemap_alternate_links": true,
  11. "stop_urls": [],
  12. "selectors": {
  13. "lvl0": {
  14. "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()]",
  15. "type": "xpath",
  16. "global": true,
  17. "default_value": "Documentation"
  18. },
  19. "lvl1": "article h1, header h1",
  20. "lvl2": "article h2",
  21. "lvl3": "article h3",
  22. "lvl4": "article h4",
  23. "lvl5": "article h5, article td:first-child",
  24. "lvl6": "article h6",
  25. "text": "article p, article li, article td:last-child"
  26. },
  27. "strip_chars": " .,;:#",
  28. "custom_settings": {
  29. "separatorsToIndex": "_",
  30. "attributesForFaceting": [
  31. "language",
  32. "version",
  33. "type",
  34. "docusaurus_tag"
  35. ],
  36. "attributesToRetrieve": [
  37. "hierarchy",
  38. "content",
  39. "anchor",
  40. "url",
  41. "url_without_anchor",
  42. "type"
  43. ]
  44. },
  45. "conversation_id": [
  46. "833762294"
  47. ],
  48. "nb_hits": 0
  49. }