You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
learn-wgpu/docs/.vuepress/config.js

73 lines
2.3 KiB
JavaScript

module.exports = {
base: '/learn-wgpu/',
title: 'Learn Wgpu',
theme: 'thindark',
plugins: {
'vuepress-plugin-code-copy': true,
'@vuepress/back-to-top': true,
'seo': {
url: (_, $site, path) => ($site.themeConfig.domain || '') + path,
},
},
themeConfig: {
domain: '/learn-wgpu',
author: {
name: 'Benjamin Hansen',
twitter: 'https://twitter.com/sotrh760',
},
displayAllHeaders: false,
lastUpdated: 'Last Updated',
sidebar: [
'/',
{
title: 'Beginner',
collapsable: false,
children: [
'/beginner/tutorial1-window/',
'/beginner/tutorial2-surface/',
'/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/',
'/intermediate/tutorial12-camera/',
],
},
{
title: 'Showcase',
collapsable: true,
children: [
'/showcase/',
'/showcase/windowless/',
'/showcase/gifs/',
'/showcase/pong/',
'/showcase/compute/',
'/showcase/alignment/',
]
},
{
title: 'News',
collapsable: true,
children: [
'/news/0.17/',
'/news/0.16/',
'/news/0.15/',
'/news/0.14/',
'/news/0.13/',
'/news/0.12/',
'/news/pre-0.12/',
]
}
]
}
}