blender-studio-tools/docs/.vitepress/config.ts
Demeter Dzadik 8b9abb08c5 EasyWeight: Major update (#317)
- Works with the Extension system. Should also be compatible up to at least 2.90.
- The shortcut system has been lifted from CloudRig, allowing us to display hotkeys in the add-on preferences and let users disable or customize them, while avoiding duplicates and cleanly un-registering.
- New feature to elevate 3 weight paint tool settings to a user preference level. This is done by changing those settings on file load to whatever is in the preferences.
- The W context menu has turned into a pie menu instead.
- Split the Weight Cleaner code into a separate file.
- Remove a bunch of dead code.
- Update the documentation with all the new features, and new images.
- ReadMe now just links to studio.blender.org, since image embeds wouldn't work here on projects.blender.org.

Reviewed-on: studio/blender-studio-pipeline#317
2024-06-25 21:09:02 +02:00

312 lines
12 KiB
TypeScript

// Imports for overriding internal components
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vitepress'
import { html5Media } from 'markdown-it-html5-media'
const studioURL = 'https://studio.blender.org'
// https://vitepress.dev/reference/site-config
export default defineConfig({
base: '/pipeline/',
title: "Blender Studio",
description: "Documentation for the Blender Studio pipeline and tools.",
lastUpdated: true,
cleanUrls: true,
srcExclude: ['**/README',],
head: [
[
'script',
{
defer: '',
'data-domain': 'studio.blender.org',
src: 'https://analytics.blender.org/js/script.js'
}
],
],
themeConfig: {
logo: {
/*
Logo is injected from Vue component NavBarGlobal
light: '/blender-studio-logo-black.svg',
dark: '/blender-studio-logo-white.svg'
*/
},
siteTitle: false,
footer: {
copyright: '(CC) Blender Foundation | studio.blender.org'
},
editLink: {
pattern: 'https://projects.blender.org/studio/blender-studio-tools/_edit/master/docs/:path'
},
search: {
provider: 'local'
},
// https://vitepress.dev/reference/default-theme-config
nav: [
/*
Nav is injected from Vue component NavBarGlobal
{ text: 'Films', link: `${studioURL}/films` },
{ text: 'Training', link: `${studioURL}/training` },
{ text: 'Blog', link: `${studioURL}/blog` },
{ text: 'Pipeline', link: '/' },
{ text: 'Characters', link: `${studioURL}/characters`, }
*/
],
sidebar: [
{
text: 'Pipeline Overview',
items: [
{ text: 'Introduction', link: '/pipeline-overview/introduction'},
{ text: 'Design Principles', link: '/pipeline-overview/design-principles'},
{
text: 'Organization',
collapsed: true,
items: [
{ text: 'Infrastructure', link: '/pipeline-overview/organization/infrastructure'},
{ text: 'Task Review', link: '/pipeline-overview/organization/task-review'},
]
},
{
text: 'Pre-Production',
collapsed: true,
items: [
{ text: 'Storyboard', link: '/pipeline-overview/pre-production/storyboard'},
{ text: 'Editorial', link: '/pipeline-overview/pre-production/editorial'},
{ text: 'Previz', link: '/pipeline-overview/pre-production/previz'},
{ text: 'Research and Development', link: '/pipeline-overview/pre-production/research-and-development'},
{ text: 'Concept and Design', link: '/pipeline-overview/pre-production/concept-and-design'},
]
},
{
text: 'Asset Creation',
collapsed: true,
items: [
{ text: 'Modeling and Sculpting', link: '/pipeline-overview/asset-creation/modeling'},
{ text: 'Shading', link: '/pipeline-overview/asset-creation/shading'},
{ text: 'Rigging', link: '/pipeline-overview/asset-creation/rigging'},
{ text: 'Animation Testing', link: '/pipeline-overview/asset-creation/animation-testing'},
{ text: '2D Assets', link: '/pipeline-overview/asset-creation/2d-assets'},
]
},
{
text: 'Shot Production',
collapsed: true,
items: [
{ text: 'Shot Assembly', link: '/pipeline-overview/shot-production/shot-assembly'},
{ text: 'Layout', link: '/pipeline-overview/shot-production/layout'},
{ text: 'Animation', link: '/pipeline-overview/shot-production/animation'},
{ text: 'Lighting', link: '/pipeline-overview/shot-production/lighting'},
{ text: 'Effects', link: '/pipeline-overview/shot-production/effects'},
{ text: 'Rendering', link: '/pipeline-overview/shot-production/rendering'},
{ text: 'Coloring', link: '/pipeline-overview/shot-production/coloring'},
]
},
{ text: 'Publishing', link: '/pipeline-overview/publishing'},
]
},
{
text: 'Add-ons',
link:'/addons/overview',
collapsed: true,
items: [
{ text: 'Anim Cupboard', link: '/addons/anim_cupboard'},
{ text: 'Asset Pipeline', link: '/addons/asset_pipeline'},
{ text: 'Blender Kitsu', link: '/addons/blender_kitsu'},
{ text: 'Blender SVN', link: '/addons/blender_svn'},
{ text: 'Blender Gizmos', link: '/addons/bone_gizmos'},
{ text: 'Cache Manager', link: '/addons/cache_manager'},
{
text: 'CloudRig',
collapsed: true,
items: [
{text: 'Introduction', link: '/addons/cloudrig/introduction'},
{text: 'Component Types', link: '/addons/cloudrig/cloudrig-types'},
{text: 'Generator Parameters', link: '/addons/cloudrig/generator-parameters'},
{text: 'Properties UI', link: '/addons/cloudrig/properties-ui'},
{text: 'Organizing Bones', link: '/addons/cloudrig/organizing-bones'},
{text: 'Actions', link: '/addons/cloudrig/actions'},
{text: 'Troubleshooting', link: '/addons/cloudrig/troubleshooting'},
{text: 'Constraint Relinking', link: '/addons/cloudrig/constraint-relinking'},
{text: 'Workflow Boosters', link: '/addons/cloudrig/workflow-enhancements'},
{text: 'Contribute', link: '/addons/cloudrig/code'},
],
},
{ text: 'Contact Sheet', link: '/addons/contactsheet'},
{ text: 'Easy Weight', link: '/addons/easy_weight'},
{ text: 'Geonode Shapekeys', link: '/addons/geonode_shapekeys'},
{ text: 'Grease Converter', link: '/addons/grease_converter'},
{ text: 'Lattice Magic', link: '/addons/lattice_magic'},
{ text: 'Lighting Overrider', link: '/addons/lighting_overrider'},
{ text: 'Pose Shape Keys', link: '/addons/pose_shape_keys'},
]
},
{
text: 'Naming Conventions',
collapsed: true,
items: [
{ text: 'Introduction', link: '/naming-conventions/introduction'},
{ text: 'File Types', link: '/naming-conventions/file-types'},
{ text: 'In-file Naming', link: '/naming-conventions/datablock-names'},
{ text: 'Examples', link: '/naming-conventions/examples'},
{ text: 'Shared Folder Structure', link: '/naming-conventions/shared-folder-structure'},
{ text: 'SVN Folder Structure', link: '/naming-conventions/svn-folder-structure'},
]
},
{
text: 'User Guide',
collapsed: false,
items: [
{
text: 'Project Tools',
collapsed: true,
items: [
{ text: 'Project Overview', link: '/user-guide/project_tools/project-overview' },
{ },
{
text: 'Project Usage',
collapsed: true,
items: [
{text: 'Introduction', link: '/user-guide/project_tools/project-usage'},
{text: 'Prepare Edit', link: '/user-guide/project_tools/usage-sync-edit'},
{text: 'Building Shots', link: '/user-guide/project_tools/usage-build-shot'},
{text: 'Playblast Shot', link: '/user-guide/project_tools/usage-playblast'},
{text: 'Update Shot', link: '/user-guide/project_tools/usage-update-shot'},
{text: 'Flamenco Render', link: '/user-guide/project_tools/usage-render-flamenco'},
{text: 'Render Review', link: '/user-guide/project_tools/usage-render-review'},
{text: 'Final Render', link: '/user-guide/project_tools/usage-final-render'},
],
},
{text: 'Folder Structure', link: '/td-guide/project_folder_structure'},
{ text: 'Project Blender', link: '/user-guide/project_tools/project-blender' },
],
},
{
text: 'Organization',
collapsed: true,
items: [
{ text: 'Planning', link: '/user-guide/organization/planning' },
{ text: 'Task Review', link: '/user-guide/organization/task-review' },
],
},
{ text: 'Debugging', link: '/user-guide/debugging' },
{ text: 'Kitsu', link: '/user-guide/kitsu' },
],
},
{
text: 'TD Guide',
collapsed: true,
items: [
{text: 'Introduction', link: '/td-guide/project-tools-setup'},
{text: 'Repository', link: '/td-guide/repository'},
{text: 'Python', link: '/td-guide/python'},
{text: 'Folder Structure', link: '/td-guide/project_folder_structure'},
{
text: 'Shared',
collapsed: true,
items: [
{text: 'Syncthing Setup', link: '/td-guide/syncthing-setup'},
{text: 'Populating Shared', link: '/td-guide/populating_shared'},
],
},
{
text: 'SVN',
collapsed: true,
items: [
{text: 'SVN Setup', link: '/td-guide/svn-setup'},
{text: 'Populating SVN', link: '/td-guide/populating_svn'},
],
},
{text: 'Kitsu', link: '/td-guide/kitsu_server'},
{
text: 'Blender',
collapsed: true,
items: [
{text: 'Blender Setup', link: '/td-guide/blender_setup'},
{text: 'Add-Ons Setup', link: '/td-guide/addon_setup'},
{text: 'Add-Ons Preferences', link: '/td-guide/addon_preferences'},
],
},
{text: 'Flamenco', link: '/td-guide/flamenco_setup'},
]
},
{
text: 'Archive',
collapsed: true,
items: [
{text: 'Pipeline Proposal', link: '/archive/pipeline-proposal-2019/introduction'},
{text: 'Attact Updates', link: '/archive/pipeline-proposal-2019/attract-improvements'},
{text: 'Task Companion Add-on', link: '/archive/pipeline-proposal-2019/task-companion-add-on'},
{text: 'Shot Caching', link: '/archive/pipeline-proposal-2019/shot-caching/introduction', items: [
{text: 'Add-on', link: '/archive/pipeline-proposal-2019/shot-caching/add-on', items: [
{text: 'User Stories', link: '/archive/pipeline-proposal-2019/shot-caching/user-stories'},
{text: 'Structural Ideas', link: '/archive/pipeline-proposal-2019/shot-caching/structural-ideas'}
]},
{text: 'Issues', link: '/archive/pipeline-proposal-2019/shot-caching/issues'},
]},
{text: 'Asset Publishing', link: '/archive/pipeline-proposal-2019/asset-publishing/introduction'},
{text: 'Character Pipeline Assistant', link: '/archive/pipeline-proposal-2019/asset-publishing/character-pipeline-assistant'},
],
},
{
text: 'Gentoo',
collapsed: true,
items: [
{
text: 'TD',
collapsed: false,
items: [
{ text: 'Overview', link: '/gentoo/td/overview'},
{ text: 'Installation', link: '/gentoo/td/installation'},
{ text: 'Maintenance', link: '/gentoo/td/maintaince'},
{ text: 'Render Farm', link: '/gentoo/td/render_farm'},
{ text: 'Troubleshooting', link: '/gentoo/td/troubleshooting' },
],
},
{
text: 'User',
collapsed: false,
items: [
{ text: 'Introduction', link: '/gentoo/user/introduction' },
{ text: 'Installing Software', link: '/gentoo/user/installing-software' },
{ text: 'Running Blender', link: '/gentoo/user/running-blender' },
{ text: 'SVN', link: '/gentoo/user/svn' },
]
},
],
},
],
},
markdown: {
config: (md) => {
// Enable the markdown-it-html5-media plugin
md.use(html5Media)
}
},
// Override internal component 'VPNavBar'
vite: {
resolve: {
alias: [
{
find: /^.*\/VPNavBar\.vue$/,
replacement: fileURLToPath(
new URL('./components/NavBarGlobal.vue', import.meta.url)
)
}
]
}
}
})