mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs: Use Algolia DocSearch for docs
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = {
|
||||
lang: "zh-TW",
|
||||
title: "Starship",
|
||||
description: "The cross-shell prompt for astronauts"
|
||||
},
|
||||
}
|
||||
},
|
||||
// prettier-ignore
|
||||
head: [
|
||||
@@ -56,6 +56,11 @@ module.exports = {
|
||||
docsDir: "docs",
|
||||
// defaults to false, set to true to enable
|
||||
editLinks: true,
|
||||
// enables Algolia DocSearch
|
||||
algolia: {
|
||||
apiKey: "107bdc34b894d5d1dd0824b420184c2d",
|
||||
indexName: "starship"
|
||||
},
|
||||
locales: {
|
||||
"/": {
|
||||
// text for the language dropdown
|
||||
@@ -168,7 +173,7 @@ module.exports = {
|
||||
["/zh-CN/faq/", "常见问题"],
|
||||
["/zh-CN/presets/", "社区配置分享"]
|
||||
]
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user