mitm001 преди 5 години
родител
ревизия
cbc99100b7
променени са 1 файла, в които са добавени 6 реда и са изтрити 7 реда
  1. 6 7
      production-config.json

+ 6 - 7
production-config.json

@@ -1,17 +1,16 @@
 {
   "index_name": "prod_docs_wiki",
   "start_urls": ["https://wiki.jmonkeyengine.org/"],
+  "sitemap_urls": ["https://wiki.jmonkeyengine.org/sitemap.xml"],
   "selectors": {
     "default": {
       "lvl0": {
         "global": true,
-        "selector": ".navbar .component"
+        "selector": "h1"
       },
-      "lvl1": ".doc > h1.page",
-      "lvl2": ".doc .sect1 > h2:first-child",
-      "lvl3": ".doc .sect2 > h3:first-child",
-      "lvl4": ".doc .sect3 > h4:first-child",
-      "text": ".doc p, .doc dt"
+      "lvl1": "h2",
+      "text": "p"
     }
-  }
+  },
+  "selectors_exclude": [".footer", ".header", "toc", ]
 }