Initial customization

This commit is contained in:
Nicolai Ort 2021-02-13 20:16:30 +01:00
parent 993b43b651
commit b787ee018d
5 changed files with 11 additions and 33 deletions

View File

@ -1,31 +1,13 @@
const { description } = require('../../package')
module.exports = {
/**
* Refhttps://v1.vuepress.vuejs.org/config/#title
*/
title: 'Vuepress Docs Boilerplate',
/**
* Refhttps://v1.vuepress.vuejs.org/config/#description
*/
title: 'LfK! Dokumentation',
description: description,
/**
* Extra tags to be injected to the page HTML `<head>`
*
* refhttps://v1.vuepress.vuejs.org/config/#head
*/
head: [
['meta', { name: 'theme-color', content: '#3eaf7c' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }]
],
/**
* Theme configuration, here is the default theme configuration for VuePress.
*
* refhttps://v1.vuepress.vuejs.org/theme/default-theme-config.html
*/
themeConfig: {
repo: '',
editLinks: false,
@ -34,12 +16,12 @@ module.exports = {
lastUpdated: false,
nav: [
{
text: 'Guide',
link: '/guide/',
text: 'Nutzer',
link: '/users/',
},
{
text: 'Config',
link: '/config/'
text: 'Admins',
link: '/admins/'
},
{
text: 'VuePress',
@ -47,22 +29,18 @@ module.exports = {
}
],
sidebar: {
'/guide/': [
'/users/': [
{
title: 'Guide',
collapsable: false,
children: [
'',
'using-vue',
'accounts',
]
}
],
}
},
/**
* Apply pluginsrefhttps://v1.vuepress.vuejs.org/zh/plugin/
*/
plugins: [
'@vuepress/plugin-back-to-top',
'@vuepress/plugin-medium-zoom',

View File

@ -1,9 +1,9 @@
---
home: true
heroImage: https://v1.vuepress.vuejs.org/hero.png
tagline: The german documentation for the lfk
actionText: Quick Start →
actionLink: /guide/
tagline: Die Dokumentation für das LfK! Läufersystem
actionText: Schnellstart für Nutzer
actionLink: /users/
features:
- title: Feature 1 Title
details: Feature 1 Description
@ -12,4 +12,4 @@ features:
- title: Feature 3 Title
details: Feature 3 Description
footer: Made by with ❤️
---
---