From 026d955af777ab99a7308b27151bb35820bdee94 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sun, 8 Jan 2023 01:35:57 +0100 Subject: [PATCH] alias @images in config, corrected tab order in config --- docs/.vuepress/config.js | 86 ++++++++++++++++++++++------------------ 1 file changed, 47 insertions(+), 39 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 644c9df..ea5e410 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,3 +1,4 @@ +const path = require('path') module.exports = { title: 'IT Team for Change', description: 'IT4C.dev introduces the IT Team for Change, applied Philosophy and Projects.', @@ -7,46 +8,53 @@ module.exports = { theme: 'book', themeConfig: { nav: [ - { text: 'IT4C', link: '/' }, - { text: 'Contact', link: '/contact' }, + { text: 'IT4C', link: '/' }, + { text: 'Contact', link: '/contact' }, + { + text: 'Github', + link: + 'https://github.com/IT4Change' + }, + ], + sidebar: { + '/': [ { - text: 'Github', - link: - 'https://github.com/IT4Change' + title: '', + collapsable: false, + sidebarDepth: 0, + children: [ + ['/', 'IT4C'], + ['/history', 'History'], + ['/contact', 'Contact'] + ] }, - ], - sidebar: { - '/': [ - { - title: '', - collapsable: false, - sidebarDepth: 0, - children: [ - ['/', 'IT4C'], - ['/history', 'History'], - ['/contact', 'Contact'] - ] - }, - { - title: 'Projects', - collapsable: false, - children: [ - ['/projects/gradido', 'Gradido'], - //['/extras/contributing', 'Contributing ✨'], - //['/extras/license', 'License 📚'] - ] - }, - { - title: 'People', - collapsable: false, - children: [ - ['/people/ulf-gebhardt', 'Ulf Gebhardt'], - // ['/random/website', 'Websites using this theme 👌'], - // ['/random/emoji', 'Emoji 😃'], - // ['/random/lorem', 'Lorem Ipsum 🌟'] - ] - }, - ] + { + title: 'Projects', + collapsable: false, + children: [ + ['/projects/gradido', 'Gradido'], + //['/extras/contributing', 'Contributing ✨'], + //['/extras/license', 'License 📚'] + ] + }, + { + title: 'People', + collapsable: false, + children: [ + ['/people/ulf-gebhardt', 'Ulf Gebhardt'], + // ['/random/website', 'Websites using this theme 👌'], + // ['/random/emoji', 'Emoji 😃'], + // ['/random/lorem', 'Lorem Ipsum 🌟'] + ] + }, + ] + }, + }, + configureWebpack: { + resolve: { + alias: { + '@images': path.resolve(__dirname, '../images') } - } + } + }, } \ No newline at end of file