finish sdk-tutorial

This commit is contained in:
锦恢 2025-05-27 21:01:12 +08:00
parent 014e34ea29
commit 106c40b128
5 changed files with 9 additions and 90 deletions

View File

@ -9,6 +9,9 @@ export const customIcons = {
export default defineConfig({
title: "OpenMCP",
description: "为开发者和科研人员准备的MCP开发环境和SDK",
base: '/openmcp',
ignoreDeadLinks: true,
head: [
['link', { rel: 'icon', href: '/images/favicon.png' }]
],

View File

@ -1,85 +0,0 @@
# Markdown Extension Examples
This page demonstrates some of the built-in markdown extensions provided by VitePress.
## Syntax Highlighting
VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting:
**Input**
````md
```js{4}
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}
```
````
**Output**
```js{4}
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}
```
## Custom Containers
**Input**
```md
::: info
This is an info box.
:::
::: tip
This is a tip.
:::
::: warning
This is a warning.
:::
::: danger
This is a dangerous warning.
:::
::: details
This is a details block.
:::
```
**Output**
::: info
This is an info box.
:::
::: tip
This is a tip.
:::
::: warning
This is a warning.
:::
::: danger
This is a dangerous warning.
:::
::: details
This is a details block.
:::
## More
Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).

View File

@ -1,8 +1,8 @@
{
"scripts": {
"docs:dev": "vitepress dev",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview"
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview"
},
"dependencies": {
"vitepress": "^1.6.3"

View File

@ -9,9 +9,9 @@
[锦恢的 mcp 系列博客](https://kirigaya.cn/blog/search?q=mcp)
[OpenMCP 官方文档]()
[OpenMCP 官方文档](https://kirigaya.cn/openmcp/plugin-tutorial)
[openmcp-sdk 官方文档]()
[openmcp-sdk 官方文档](https://kirigaya.cn/openmcp/sdk-tutorial)
## 频道

1
update.sh Normal file
View File

@ -0,0 +1 @@
scp -r .vitepress/dist/* ubuntu@101.43.239.71:~/website/openmcp