Skip to content

Commit

Permalink
docs: sort search results by custom priority (#6598)
Browse files Browse the repository at this point in the history
* docs: sort search results by custom priority

* fix: docsearchOptions sort
  • Loading branch information
yvonneyx authored Dec 4, 2024
1 parent 70e3def commit 4f874b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default defineConfig({
// 头部搜索框配置
apiKey: '9d1cd586972bb492b7b41b13a949ef30',
indexName: 'antv_g6',
sort: ['!/api/reference'],
},
navs: [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"dependencies": {
"@ant-design/icons": "^5.5.2",
"@antv/algorithm": "^0.1.26",
"@antv/dumi-theme-antv": "^0.5.3",
"@antv/dumi-theme-antv": "^0.5.4",
"@antv/g": "^6.1.14",
"@antv/g-svg": "^2.0.27",
"@antv/g-webgl": "^2.0.36",
Expand Down

0 comments on commit 4f874b2

Please sign in to comment.