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

View File

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