Set up Vitepress deployment (#7)

This commit is contained in:
Luca Chang 2026-06-09 12:18:41 -07:00 • committed by GitHub
commit 8966bea9c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

52
.vitepress/config.mts Normal file
View file

@ -0,0 +1,52 @@
import { defineConfig } from "vitepress";
import { withMermaid } from "vitepress-plugin-mermaid";
export default withMermaid(
defineConfig({
title: "MCP Tasks Extension",
description: "Documentation for the MCP Tasks extension",
head: [["link", { rel: "icon", href: "/mcp.png" }]],
themeConfig: {
outline: [2, 3],
nav: [
{ text: "SEPs", link: "/seps/2663-tasks-extension" },
{ text: "Specification", link: "/specification/draft/tasks" },
],
sidebar: {
"specification/": [
{
text: "Specification",
items: [{ text: "Draft", link: "/specification/draft/tasks" }],
},
],
"seps/": [
{
text: "SEPs",
items: [
{ text: "SEP-1686: Tasks", link: "/seps/1686-tasks" },
{
text: "SEP-2663: Tasks Extension",
link: "/seps/2663-tasks-extension",
},
],
},
],
},
socialLinks: [
{
icon: "github",
link: "https://github.com/modelcontextprotocol/ext-tasks",
},
],
search: {
provider: "local",
},
},
}),
);