Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add probe-engine to sidebar #5

Merged
merged 12 commits into from
Jul 5, 2024
36 changes: 22 additions & 14 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import vercel from "@astrojs/vercel/static";
import rehypeShikiji from "rehype-shikiji";

// https://astro.build/config
export default defineConfig({
Expand All @@ -16,33 +15,42 @@ export default defineConfig({
sidebar: [
{
label: "Data",
autogenerate: { directory: "data" },
autogenerate: {
directory: "data",
},
},
{
label: "Meta",
autogenerate: { directory: "meta" },
autogenerate: {
directory: "meta",
},
},
{
label: "Devops",
autogenerate: { directory: "devops" },
autogenerate: {
directory: "devops",
},
},
{
label: "Backend",
autogenerate: { directory: "backend" },
autogenerate: {
directory: "backend",
},
},
{
label: "Probe Engine",
autogenerate: {
directory: "probe-engine",
},
},
{
label: "Legacy Backend",
autogenerate: { directory: "legacybackend" },
autogenerate: {
directory: "legacybackend",
},
},
],
expressiveCode: false,
customCss: [
'./src/styles/custom.css',
],
customCss: ["./src/styles/custom.css"],
}),
],
markdown: {
rehypePlugins: [[rehypeShikiji, { theme: "github-dark" }]],
syntaxHighlight: false,
},
});
Loading