From 0ea1fd52e0975964c8e113b71219ff6a90cbcb7d Mon Sep 17 00:00:00 2001 From: liaoxuezhi <2betop.cn@gmail.com> Date: Fri, 11 Sep 2020 23:33:13 +0800 Subject: [PATCH] =?UTF-8?q?npm=20=E5=8F=91=E5=B8=83=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E6=8E=89=E4=B8=80=E4=BA=9B=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmignore | 9 +++- scraper-config.json | 121 -------------------------------------------- 2 files changed, 8 insertions(+), 122 deletions(-) delete mode 100644 scraper-config.json diff --git a/.npmignore b/.npmignore index 5f8f41688..628af7c9b 100644 --- a/.npmignore +++ b/.npmignore @@ -15,4 +15,11 @@ fis-conf.js /__mocks__ /coverage /publish.sh -/gh-pages \ No newline at end of file +/gh-pages +/.github +/docs +/examples +/scripts +/.travis.yml +/deploy-gh-pages.sh +/tsconfig.json diff --git a/scraper-config.json b/scraper-config.json deleted file mode 100644 index 8d0eeef14..000000000 --- a/scraper-config.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "index_name": "gh_pages", - "start_urls": [ - "https://baidu.gitee.io/amis/docs/index", - "https://baidu.gitee.io/amis/docs/concepts/schema", - "https://baidu.gitee.io/amis/docs/concepts/datascope-and-datachain", - "https://baidu.gitee.io/amis/docs/concepts/template", - "https://baidu.gitee.io/amis/docs/concepts/data-mapping", - "https://baidu.gitee.io/amis/docs/concepts/expression", - "https://baidu.gitee.io/amis/docs/concepts/linkage", - "https://baidu.gitee.io/amis/docs/concepts/action", - "https://baidu.gitee.io/amis/docs/concepts/style", - "https://baidu.gitee.io/amis/docs/types/schemanode", - "https://baidu.gitee.io/amis/docs/types/api", - - { - "url": "https://baidu.gitee.io/amis/docs/components", - "selectors_key": "component" - }, - { - "url": "https://baidu.gitee.io/amis/docs/components/form/(?P.*?$)", - "selectors_key": "formitem", - "variables": { - "formItem": [ - "index", - "formitem", - "options", - "array", - "button", - "button-toolbar", - "button-group", - "chain-select", - "checkbox", - "checkboxes", - "city", - "color", - "combo", - "date", - "datetime", - "date-range", - "datetime-range", - "diff-editor", - "editor", - "fieldset", - "file", - "formula", - "grid", - "group", - "hbox", - "hidden", - "image", - "input-group", - "list", - "matrix", - "nestedselect", - "number", - "panel", - "picker", - "radios", - "rating", - "range", - "repeat", - "rich-text", - "select", - "service", - "subform", - "switch", - "static", - "tabs", - "table", - "tag", - "text", - "textarea", - "time", - "tree", - "treeselect" - ] - } - } - ], - "js_render": true, - "js_wait": 1, - "use_anchors": false, - "selectors": { - "default": { - "lvl0": ".Doc-title h1", - "lvl1": ".markdown-body h2", - "lvl2": ".markdown-body h3", - "lvl3": ".markdown-body h4", - "lvl4": ".markdown-body h5", - "text": ".markdown-body p, .markdown-body li" - }, - "component": { - "lvl0": { - "selector": ".Doc-title h1", - "default_value": "\u7ec4\u4ef6\u6587\u6863" - }, - "lvl1": ".markdown-body h2", - "lvl2": ".markdown-body h3", - "lvl3": ".markdown-body h4", - "lvl4": ".markdown-body h5", - "text": ".markdown-body p, .markdown-body li" - }, - "formitem": { - "lvl0": { - "selector": ".Doc-title h1", - "default_value": "\u7ec4\u4ef6\u6587\u6863" - }, - "lvl1": { - "selector": ".markdown-body h2", - "default_value": "Form" - }, - "lvl2": ".markdown-body h3", - "lvl3": ".markdown-body h4", - "lvl4": ".markdown-body h5", - "text": ".markdown-body p, .markdown-body li" - } - }, - "min_indexed_level": 0, - "nb_hits": 1224 -}