Merge remote-tracking branch 'baidu/master'

This commit is contained in:
2betop 2020-08-07 16:30:39 +08:00
commit 638ebfbff6
2 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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<formItem>.*?$)",
"url": "https://baidu.gitee.io/amis/docs/components/form/(?P<formItem>.*?$)",
"selectors_key": "formitem",
"variables": {
"formItem": [