Add blog, add HLS blog post

This commit is contained in:
Vanilagy
2026-04-24 17:37:49 +02:00
parent 66997ddd16
commit 1d6731e4f6
11 changed files with 328 additions and 11 deletions
+5 -3
View File
@@ -3,7 +3,8 @@ import footnote from 'markdown-it-footnote';
import tailwindcss from '@tailwindcss/vite';
import llmstxt from 'vitepress-plugin-llms';
import { HeadConfig } from 'vitepress';
// @ts-expect-error This file gets generated once docs:generate is run
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore This file gets generated once docs:generate is run
import apiRoutes from '../api/index.json';
import m3u8Grammar from './m3u8-grammar.json' with { type: 'json' };
@@ -39,9 +40,10 @@ export default withMermaid({
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Guide', link: '/guide/introduction', activeMatch: '/guide' },
{ text: 'API', link: '/api/', activeMatch: '/api' },
{ text: 'API', link: '/api', activeMatch: '/api' },
{ text: 'LLMs', link: '/llms', activeMatch: '/llms' },
{ text: 'Examples', link: '/examples', activeMatch: '/examples' },
{ text: 'Blog', link: '/blog', activeMatch: '/blog' },
{ text: 'Sponsors', link: '/#sponsors', activeMatch: '/#sponsors' },
{ text: 'License', link: 'https://github.com/Vanilagy/mediabunny#license' },
{
@@ -164,7 +166,7 @@ export default withMermaid({
footer: {
message: 'Released under the Mozilla Public License 2.0.',
copyright: 'Copyright © 2026-present Vanilagy',
copyright: `Copyright © ${new Date().getFullYear()}-present Vanilagy`,
},
},
markdown: {