Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feat: 新增v3.x版本docsearch适配新申请的子站点 #378

Merged
merged 5 commits into from
Apr 13, 2022

Conversation

xingwanying
Copy link
Member

新申请的 docsearch key包含 appId, 只适用于 v3.x 版本的docsearch.js, v2.x 版本 appId 可不填默认提供写死
image
详情见 https://docsearch.algolia.com/
考虑到整栈升级成本,提供两种版本的组件配置选项,效果如下:
v2.x:
v2

v3.x
v

(PS: 样式就这样叭,随便改改,摆烂了,又不是不能用🙃🙃🙃🙃)

@github-actions
Copy link

github-actions bot commented Apr 13, 2022

⚡️ Deploying PR Preview...

@xingwanying xingwanying merged commit c20030b into master Apr 13, 2022
@xingwanying xingwanying deleted the feat_docsearchV3 branch April 13, 2022 08:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants