From a6079a7f0a9f7e90be7d2add13eb3b622f212dbf Mon Sep 17 00:00:00 2001 From: RickCole21 Date: Fri, 7 Aug 2020 16:20:17 +0800 Subject: [PATCH] fix algolia --- examples/components/DocSearch.jsx | 2 +- scraper-config.json | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/components/DocSearch.jsx b/examples/components/DocSearch.jsx index f4ec0e5e..5cf3cc01 100644 --- a/examples/components/DocSearch.jsx +++ b/examples/components/DocSearch.jsx @@ -34,7 +34,7 @@ export default class DocSearch extends React.Component { const inputSelector = 'input[name="docsearch"]'; docsearch({ appId: 'S08MJHBHFJ', - apiKey: 'f2d788a048dcc0bdc87a1d8c54bee363', + apiKey: '5fba814bb773d08b5d2a3f6074f926a5', indexName: 'gh_pages', inputSelector, debug: false diff --git a/scraper-config.json b/scraper-config.json index 1a448488..8d0eeef1 100644 --- a/scraper-config.json +++ b/scraper-config.json @@ -1,24 +1,24 @@ { "index_name": "gh_pages", "start_urls": [ - "https://baidu.github.io/amis/docs/index", - "https://baidu.github.io/amis/docs/concepts/schema", - "https://baidu.github.io/amis/docs/concepts/datascope-and-datachain", - "https://baidu.github.io/amis/docs/concepts/template", - "https://baidu.github.io/amis/docs/concepts/data-mapping", - "https://baidu.github.io/amis/docs/concepts/expression", - "https://baidu.github.io/amis/docs/concepts/linkage", - "https://baidu.github.io/amis/docs/concepts/action", - "https://baidu.github.io/amis/docs/concepts/style", - "https://baidu.github.io/amis/docs/types/schemanode", - "https://baidu.github.io/amis/docs/types/api", + "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.github.io/amis/docs/components", + "url": "https://baidu.gitee.io/amis/docs/components", "selectors_key": "component" }, { - "url": "https://baidu.github.io/amis/docs/components/form/(?P.*?$)", + "url": "https://baidu.gitee.io/amis/docs/components/form/(?P.*?$)", "selectors_key": "formitem", "variables": { "formItem": [