learn-wgpu/docs/.vuepress/config.js
2020-05-28 13:22:06 -06:00

56 lines
1.7 KiB
JavaScript

module.exports = {
base: '/learn-wgpu/',
title: 'Learn Wgpu',
theme: 'thindark',
plugins: {
'vuepress-plugin-code-copy': true,
'@vuepress/back-to-top': true,
'seo': {
},
},
themeConfig: {
author: {
name: 'Benjamin R Hansen',
twitter: 'https://twitter.com/sotrh760',
},
displayAllHeaders: false,
lastUpdated: 'Last Updated',
sidebar: [
'/',
{
title: 'Beginner',
collapsable: false,
children: [
'/beginner/tutorial1-window/',
'/beginner/tutorial2-swapchain/',
'/beginner/tutorial3-pipeline/',
'/beginner/tutorial4-buffer/',
'/beginner/tutorial5-textures/',
'/beginner/tutorial6-uniforms/',
'/beginner/tutorial7-instancing/',
'/beginner/tutorial8-depth/',
'/beginner/tutorial9-models/',
],
},
{
title: 'Intermediate',
collapsable: false,
children: [
'/intermediate/tutorial10-lighting/',
'/intermediate/tutorial11-normals/',
],
},
{
title: 'Showcase',
collapsable: true,
children: [
'/showcase/',
'/showcase/windowless/',
'/showcase/gifs/',
'/showcase/pong/',
]
},
'/news/'
]
}
}