Added sidebar
This commit is contained in:
parent
f1f7b48b22
commit
0488a870ef
6 changed files with 39 additions and 6 deletions
|
@ -2,16 +2,34 @@ module.exports = {
|
||||||
lang: "en-US",
|
lang: "en-US",
|
||||||
title: 'Profectus',
|
title: 'Profectus',
|
||||||
description: 'A game engine that grows with you.',
|
description: 'A game engine that grows with you.',
|
||||||
|
head: [
|
||||||
|
['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Roboto+Mono' }]
|
||||||
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
repo: 'profectus-engine/profectus-docs',
|
||||||
|
docsDir: '',
|
||||||
|
docsBranch: 'main',
|
||||||
|
editLinks: true,
|
||||||
|
editLinkText: 'Edit this page on GitHub',
|
||||||
|
lastUpdated: 'Last Updated',
|
||||||
nav: [
|
nav: [
|
||||||
{ text: "Home", link: "/" },
|
{ text: "Guide", link: "/guide/", activeMatch: "^/guide/" },
|
||||||
{ text: "Forums", link: "https://forums.moddingtree.com" },
|
{ text: "Forums", link: "https://forums.moddingtree.com" },
|
||||||
{ text: "Discord", link: "https://discord.gg/F3xveHV" },
|
{ text: "Discord", link: "https://discord.gg/F3xveHV" },
|
||||||
{ text: "Github", link: "https://github.com/profectus-engine/Profectus" }
|
{ text: "Github", link: "https://github.com/profectus-engine/Profectus" }
|
||||||
],
|
],
|
||||||
// sidebar: [
|
sidebar: [
|
||||||
// { text: "Guide", link: "/docs" },
|
{
|
||||||
// { text: "Reference", link: "/profectus" }
|
text: "Guide",
|
||||||
// ]
|
children: [
|
||||||
|
{ text: "Introduction", link: "/guide/" },
|
||||||
|
{ text: "Getting Started", link: "/guide/getting-started" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: "Creating Features",
|
||||||
|
children: []
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
.vitepress/theme/custom.css
Normal file
4
.vitepress/theme/custom.css
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
/* Hide Github button that goes to profectus-docs */
|
||||||
|
.nav-links > .item:last-child {
|
||||||
|
display: none;
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
import DefaultTheme from 'vitepress/theme';
|
import DefaultTheme from 'vitepress/theme';
|
||||||
import Layout from './Layout.vue';
|
import Layout from './Layout.vue';
|
||||||
|
import './custom.css';
|
||||||
import './vars.css';
|
import './vars.css';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
# Getting Started
|
# Getting Started
|
||||||
|
|
||||||
|
Clone the repo
|
8
guide/index.md
Normal file
8
guide/index.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: Introduction
|
||||||
|
---
|
||||||
|
# Introduction
|
||||||
|
|
||||||
|
Profectus is a web-based game engine. You can write your content using many built in features, write your own features, and build up complex gameplay quickly and easily.
|
||||||
|
|
||||||
|
The purpose of creating profectus was to create an easy to use engine that does not create a ceiling for a programmer's personal growth. This engine will grow in complexity with you, empowering you to create increasingly complex designs and mechanics.
|
2
index.md
2
index.md
|
@ -4,7 +4,7 @@ title: Home
|
||||||
heroText: Profectus
|
heroText: Profectus
|
||||||
tagline: A game engine that grows with you
|
tagline: A game engine that grows with you
|
||||||
actionText: Get Started
|
actionText: Get Started
|
||||||
actionLink: /docs/getting-started
|
actionLink: /guide/getting-started
|
||||||
features:
|
features:
|
||||||
- title: Easy to Use
|
- title: Easy to Use
|
||||||
details: Everything is written to be as intuitive to use as possible
|
details: Everything is written to be as intuitive to use as possible
|
||||||
|
|
Loading…
Reference in a new issue