- Edit README for subspecific rules - Add meetup-2-guide for both root and en - Remove vscode folder - Remove default pages and docs - Gitignore add editor section - Setup i18n Signed-off-by: Asai Neko <sugar@sne.moe>
36 lines
749 B
JavaScript
36 lines
749 B
JavaScript
// @ts-check
|
|
import { defineConfig } from "astro/config";
|
|
import starlight from "@astrojs/starlight";
|
|
import starlightThemeGalaxy from "starlight-theme-galaxy";
|
|
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [
|
|
starlight({
|
|
title: "NixCN",
|
|
defaultLocale: "root",
|
|
locales: {
|
|
root: {
|
|
label: "简体中文",
|
|
lang: "zh-CN",
|
|
},
|
|
en: {
|
|
label: "English",
|
|
},
|
|
},
|
|
social: [
|
|
{
|
|
icon: "github",
|
|
label: "GitHub",
|
|
href: "https://github.com/withastro/starlight",
|
|
},
|
|
],
|
|
sidebar: [],
|
|
plugins: [starlightThemeGalaxy()],
|
|
}),
|
|
mdx(),
|
|
],
|
|
});
|