Skip to content

Commit

Permalink
use docsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
Summpot committed Oct 3, 2024
1 parent f731b3f commit 9591d57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 9 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
import starlightDocSearch from "@astrojs/starlight-docsearch";

// https://astro.build/config
export default defineConfig({
site: "https://pixeval.github.io",
integrations: [
starlight({
plugins: [
starlightDocSearch({
appId: 'GTN5N5X5CJ',
apiKey: '78ea17a22490a43413391f6fe75315c3',
indexName: 'pixevalio',
}),
],
title: "Pixeval",
defaultLocale: "root",
locales: {
Expand Down Expand Up @@ -51,4 +59,5 @@ export default defineConfig({
}),
tailwind({ applyBaseStyles: false }),
],

});
4 changes: 0 additions & 4 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ hero:

</div>

🌏: [**简体中文**](README.md)[English](README.en.md)[Русский](README.ru.md)[Français](README.fr.md)

---

**基于 WinUI3 的 Pixeval 已经正在开发中,而作为旧的 WPF 版本除严重问题以外不再进行大量维护,请适时切换到新版 Pixeval。**

> 仅支持 Windows 10(版本 1809 - 内部版本 17763)及更高版本。
Expand Down

0 comments on commit 9591d57

Please sign in to comment.