2025-03-30 16:42:16 +00:00
|
|
|
import { defineConfig } from "vitepress";
|
|
|
|
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
|
|
export default defineConfig({
|
|
|
|
title: "Jecs",
|
|
|
|
base: "/jecs/",
|
|
|
|
description: "A VitePress Site",
|
|
|
|
themeConfig: {
|
|
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
|
|
nav: [
|
2025-05-18 13:05:46 +00:00
|
|
|
{ text: "Learn", link: "/learn/overview.md" },
|
2025-03-30 16:42:16 +00:00
|
|
|
{ text: "API", link: "/api/jecs.md" },
|
2025-05-18 13:05:46 +00:00
|
|
|
{ text: "Resources", link: "/resources" },
|
2025-03-30 16:42:16 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
sidebar: {
|
|
|
|
"/api/": [
|
2025-05-17 18:00:30 +00:00
|
|
|
{
|
2025-05-18 13:05:46 +00:00
|
|
|
text: "Namespaces",
|
2025-03-30 16:42:16 +00:00
|
|
|
items: [
|
|
|
|
{ text: "jecs", link: "/api/jecs" },
|
|
|
|
{ text: "World", link: "/api/world" },
|
|
|
|
{ text: "Query", link: "/api/query" },
|
|
|
|
],
|
2025-05-18 13:05:46 +00:00
|
|
|
},
|
2025-03-30 16:42:16 +00:00
|
|
|
],
|
|
|
|
"/learn/": [
|
|
|
|
{
|
2025-05-17 18:00:30 +00:00
|
|
|
text: "API Reference",
|
|
|
|
items: [
|
2025-05-18 13:05:46 +00:00
|
|
|
{ text: "jecs", link: "/api/jecs" },
|
|
|
|
{ text: "World", link: "/api/world" },
|
|
|
|
{ text: "Query", link: "/api/query" },
|
2025-05-17 18:00:30 +00:00
|
|
|
],
|
|
|
|
},
|
2025-03-30 16:42:16 +00:00
|
|
|
{
|
|
|
|
text: "Contributing",
|
|
|
|
items: [
|
2025-05-18 13:05:46 +00:00
|
|
|
{ text: "Contribution Guidelines", link: "/learn/contributing/guidelines" },
|
|
|
|
{ text: "Submitting Issues", link: "/learn/contributing/issues" },
|
|
|
|
{ text: "Submitting Pull Requests", link: "/learn/contributing/pull-requests" },
|
|
|
|
{ text: "Code Coverage", link: "/learn/contributing/coverage" },
|
2025-03-30 16:42:16 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
socialLinks: [{ icon: "github", link: "https://github.com/ukendio/jecs" }],
|
|
|
|
},
|
|
|
|
});
|