Add documentation on writing files

This commit is contained in:
Vanilagy
2025-03-31 21:21:10 +02:00
parent a64ebab435
commit 5e224510be
11 changed files with 954 additions and 23 deletions
+12 -4
View File
@@ -10,7 +10,7 @@ export default defineConfig({
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/guide/introduction' },
{ text: 'Guide', link: '/guide/introduction', activeMatch: '/guide' },
],
sidebar: [
@@ -31,7 +31,7 @@ export default defineConfig({
{
text: 'Writing media files',
items: [
{ text: 'Writing basics', link: '/guide/writing' },
{ text: 'Writing overview', link: '/guide/writing-overview' },
{ text: 'Media sources', link: '/guide/media-sources' },
{ text: 'Output formats', link: '/guide/output-formats' },
],
@@ -39,8 +39,8 @@ export default defineConfig({
{
text: 'Miscellaneous',
items: [
{ text: 'Supported formats & codecs', link: 'guide/supported-formats-and-codecs' },
{ text: 'Custom coders', link: 'guide/custom-coders' },
{ text: 'Supported formats & codecs', link: '/guide/supported-formats-and-codecs' },
{ text: 'Custom coders', link: '/guide/custom-coders' },
],
},
],
@@ -48,6 +48,14 @@ export default defineConfig({
socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' },
],
search: {
provider: 'local',
},
outline: {
level: [2, 3],
},
},
markdown: {
config(md) {