alias @images in config, corrected tab order in config

This commit is contained in:
Ulf Gebhardt 2023-01-08 01:35:57 +01:00
parent 9b5951809b
commit 026d955af7
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -1,3 +1,4 @@
const path = require('path')
module.exports = { module.exports = {
title: 'IT Team for Change', title: 'IT Team for Change',
description: 'IT4C.dev introduces the IT Team for Change, applied Philosophy and Projects.', description: 'IT4C.dev introduces the IT Team for Change, applied Philosophy and Projects.',
@ -7,46 +8,53 @@ module.exports = {
theme: 'book', theme: 'book',
themeConfig: { themeConfig: {
nav: [ nav: [
{ text: 'IT4C', link: '/' }, { text: 'IT4C', link: '/' },
{ text: 'Contact', link: '/contact' }, { text: 'Contact', link: '/contact' },
{
text: 'Github',
link:
'https://github.com/IT4Change'
},
],
sidebar: {
'/': [
{ {
text: 'Github', title: '',
link: collapsable: false,
'https://github.com/IT4Change' sidebarDepth: 0,
children: [
['/', 'IT4C'],
['/history', 'History'],
['/contact', 'Contact']
]
}, },
], {
sidebar: { title: 'Projects',
'/': [ collapsable: false,
{ children: [
title: '', ['/projects/gradido', 'Gradido'],
collapsable: false, //['/extras/contributing', 'Contributing ✨'],
sidebarDepth: 0, //['/extras/license', 'License 📚']
children: [ ]
['/', 'IT4C'], },
['/history', 'History'], {
['/contact', 'Contact'] title: 'People',
] collapsable: false,
}, children: [
{ ['/people/ulf-gebhardt', 'Ulf Gebhardt'],
title: 'Projects', // ['/random/website', 'Websites using this theme 👌'],
collapsable: false, // ['/random/emoji', 'Emoji 😃'],
children: [ // ['/random/lorem', 'Lorem Ipsum 🌟']
['/projects/gradido', 'Gradido'], ]
//['/extras/contributing', 'Contributing ✨'], },
//['/extras/license', 'License 📚'] ]
] },
}, },
{ configureWebpack: {
title: 'People', resolve: {
collapsable: false, alias: {
children: [ '@images': path.resolve(__dirname, '../images')
['/people/ulf-gebhardt', 'Ulf Gebhardt'],
// ['/random/website', 'Websites using this theme 👌'],
// ['/random/emoji', 'Emoji 😃'],
// ['/random/lorem', 'Lorem Ipsum 🌟']
]
},
]
} }
} }
},
} }