mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Add coverage to Nav
This commit is contained in:
parent
5a1424ee48
commit
3050ea1560
1 changed files with 65 additions and 69 deletions
|
@ -1,69 +1,65 @@
|
||||||
import { defineConfig } from 'vitepress'
|
import { defineConfig } from "vitepress";
|
||||||
|
|
||||||
// https://vitepress.dev/reference/site-config
|
// https://vitepress.dev/reference/site-config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
title: "Jecs",
|
title: "Jecs",
|
||||||
base: "/jecs/",
|
base: "/jecs/",
|
||||||
description: "A VitePress Site",
|
description: "A VitePress Site",
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
nav: [
|
nav: [
|
||||||
{ text: 'Learn', link: '/' },
|
{ text: "Learn", link: "/" },
|
||||||
{ text: 'API', link: '/api/jecs.md' },
|
{ text: "API", link: "/api/jecs.md" },
|
||||||
{ text: 'Examples', link: 'https://github.com/Ukendio/jecs/tree/main/examples' },
|
{ text: "Examples", link: "https://github.com/Ukendio/jecs/tree/main/examples" },
|
||||||
],
|
{ text: "Coverage", link: "../coverage" },
|
||||||
|
],
|
||||||
sidebar: {
|
|
||||||
"/api/": [
|
sidebar: {
|
||||||
{
|
"/api/": [
|
||||||
text: "API reference",
|
{
|
||||||
items: [
|
text: "API reference",
|
||||||
{ text: "jecs", link: "/api/jecs" },
|
items: [
|
||||||
{ text: "World", link: "/api/world" },
|
{ text: "jecs", link: "/api/jecs" },
|
||||||
{ text: "Query", link: "/api/query" }
|
{ text: "World", link: "/api/world" },
|
||||||
]
|
{ text: "Query", link: "/api/query" },
|
||||||
}
|
],
|
||||||
],
|
},
|
||||||
"/learn/": [
|
],
|
||||||
{
|
"/learn/": [
|
||||||
text: "Introduction",
|
{
|
||||||
items: [
|
text: "Introduction",
|
||||||
{ text: 'Getting Started', link: '/learn/overview/get-started' },
|
items: [
|
||||||
{ text: 'First Jecs Project', link: '/learn/overview/first-jecs-project' }
|
{ text: "Getting Started", link: "/learn/overview/get-started" },
|
||||||
]
|
{ text: "First Jecs Project", link: "/learn/overview/first-jecs-project" },
|
||||||
},
|
],
|
||||||
{
|
},
|
||||||
text: 'Concepts',
|
{
|
||||||
items: [
|
text: "Concepts",
|
||||||
{ text: 'Entities and Components', link: '/learn/concepts/entities-and-components' },
|
items: [
|
||||||
{ text: 'Queries', link: '/learn/concepts/queries' },
|
{ text: "Entities and Components", link: "/learn/concepts/entities-and-components" },
|
||||||
{ text: 'Relationships', link: '/learn/concepts/relationships' },
|
{ text: "Queries", link: "/learn/concepts/queries" },
|
||||||
{ text: 'Component Traits', link: 'learn/concepts/component-traits' },
|
{ text: "Relationships", link: "/learn/concepts/relationships" },
|
||||||
{ text: 'Addons', link: '/learn/concepts/addons' }
|
{ text: "Component Traits", link: "learn/concepts/component-traits" },
|
||||||
]
|
{ text: "Addons", link: "/learn/concepts/addons" },
|
||||||
},
|
],
|
||||||
{
|
},
|
||||||
text: "FAQ",
|
{
|
||||||
items: [
|
text: "FAQ",
|
||||||
{ text: 'How can I contribute?', link: '/learn/faq/contributing' }
|
items: [{ text: "How can I contribute?", link: "/learn/faq/contributing" }],
|
||||||
]
|
},
|
||||||
},
|
],
|
||||||
|
"/contributing/": [
|
||||||
],
|
{
|
||||||
"/contributing/": [
|
text: "Contributing",
|
||||||
{
|
items: [
|
||||||
text: 'Contributing',
|
{ text: "Contribution Guidelines", link: "/learn/contributing/guidelines" },
|
||||||
items: [
|
{ text: "Submitting Issues", link: "/learn/contributing/issues" },
|
||||||
{ text: 'Contribution Guidelines', link: '/learn/contributing/guidelines' },
|
{ text: "Submitting Pull Requests", link: "/learn/contributing/pull-requests" },
|
||||||
{ text: 'Submitting Issues', link: '/learn/contributing/issues' },
|
],
|
||||||
{ text: 'Submitting Pull Requests', link: '/learn/contributing/pull-requests' },
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
]
|
|
||||||
},
|
socialLinks: [{ icon: "github", link: "https://github.com/ukendio/jecs" }],
|
||||||
|
},
|
||||||
socialLinks: [
|
});
|
||||||
{ icon: 'github', link: 'https://github.com/ukendio/jecs' }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
Loading…
Reference in a new issue