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",
|
||||
title: 'Profectus',
|
||||
description: 'A game engine that grows with you.',
|
||||
head: [
|
||||
['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Roboto+Mono' }]
|
||||
],
|
||||
themeConfig: {
|
||||
repo: 'profectus-engine/profectus-docs',
|
||||
docsDir: '',
|
||||
docsBranch: 'main',
|
||||
editLinks: true,
|
||||
editLinkText: 'Edit this page on GitHub',
|
||||
lastUpdated: 'Last Updated',
|
||||
nav: [
|
||||
{ text: "Home", link: "/" },
|
||||
{ text: "Guide", link: "/guide/", activeMatch: "^/guide/" },
|
||||
{ text: "Forums", link: "https://forums.moddingtree.com" },
|
||||
{ text: "Discord", link: "https://discord.gg/F3xveHV" },
|
||||
{ text: "Github", link: "https://github.com/profectus-engine/Profectus" }
|
||||
],
|
||||
// sidebar: [
|
||||
// { text: "Guide", link: "/docs" },
|
||||
// { text: "Reference", link: "/profectus" }
|
||||
// ]
|
||||
sidebar: [
|
||||
{
|
||||
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 Layout from './Layout.vue';
|
||||
import './custom.css';
|
||||
import './vars.css';
|
||||
|
||||
export default {
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
# 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
|
||||
tagline: A game engine that grows with you
|
||||
actionText: Get Started
|
||||
actionLink: /docs/getting-started
|
||||
actionLink: /guide/getting-started
|
||||
features:
|
||||
- title: Easy to Use
|
||||
details: Everything is written to be as intuitive to use as possible
|
||||
|
|
Loading…
Reference in a new issue