mirror of
https://github.com/sortedcord/omnia.git
synced 2026-07-22 03:52:48 +05:30
docs: Migrated to astro v7 for live docs
This commit is contained in:
33
web/docs/astro.config.mjs
Normal file
33
web/docs/astro.config.mjs
Normal file
@@ -0,0 +1,33 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
import starlight from "@astrojs/starlight";
|
||||
|
||||
export default defineConfig({
|
||||
site: "https://omnia.omniasimulation.com",
|
||||
base: "/docs",
|
||||
integrations: [
|
||||
starlight({
|
||||
title: "Omnia Docs",
|
||||
logo: {
|
||||
src: "./src/assets/img/logo.png",
|
||||
},
|
||||
social: [{ icon: "github", label: "GitHub", href: "https://github.com/sortedcord/omnia" }],
|
||||
sidebar: [
|
||||
{
|
||||
label: "Introduction",
|
||||
slug: "intro",
|
||||
},
|
||||
{
|
||||
label: "Architecture",
|
||||
items: [{ autogenerate: { directory: "architecture" } }],
|
||||
},
|
||||
{
|
||||
label: "Guides",
|
||||
items: [{ autogenerate: { directory: "guides" } }],
|
||||
},
|
||||
],
|
||||
editLink: {
|
||||
baseUrl: "https://github.com/sortedcord/omnia/edit/main/web/docs/",
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user