@rsdoctor/docs 1.2.0-beta.2 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,6 +125,16 @@ RSDOCTOR=true npm run build
125
125
 
126
126
  #### Cursor
127
127
 
128
+ <div style={{ display: 'inline-block', marginTop: 16 }}>
129
+ <a href="cursor://anysphere.cursor-deeplink/mcp/install?name=rsdoctor&config=eyJjb21tYW5kIjoibnB4IC15IEByc2RvY3Rvci9tY3Atc2VydmVyQGxhdGVzdCJ9">
130
+ <img
131
+ src="https://cursor.com/deeplink/mcp-install-dark.svg"
132
+ alt="Add Rsdoctor MCP server to Cursor"
133
+ height="32"
134
+ />
135
+ </a>
136
+ </div>
137
+
128
138
  1. Create a `.cursor/mcp.json` file in the project root directory:
129
139
 
130
140
  ```json
@@ -141,7 +151,16 @@ RSDOCTOR=true npm run build
141
151
  2. Restart the Cursor editor
142
152
  3. Start interaction in the MCP panel
143
153
 
144
- #### GitHub Copilot
154
+ #### VS Code / GitHub Copilot
155
+
156
+ <div style={{ display: 'inline-block', marginTop: 16 }}>
157
+ <a href="vscode:mcp/install?%7B%22name%22%3A%22rsdoctor%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40rsdoctor%2Fmcp-server%40latest%22%5D%7D">
158
+ <img
159
+ src="https://img.shields.io/badge/VS_Code-Install_Rsdoctor_MCP-0098FF?style=flat-square&logo=visualstudiocode&logoColor=ffffff"
160
+ alt="Install in VS Code"
161
+ />
162
+ </a>
163
+ </div>
145
164
 
146
165
  1. Create `.vscode/mcp.json` in your project root directory. GitHub Copilot will automatically load the MCP Server configuration.
147
166
 
@@ -125,6 +125,16 @@ RSDOCTOR=true npm run build
125
125
 
126
126
  #### Cursor
127
127
 
128
+ <div style={{ display: 'inline-block', marginTop: 16 }}>
129
+ <a href="cursor://anysphere.cursor-deeplink/mcp/install?name=rsdoctor&config=eyJjb21tYW5kIjoibnB4IC15IEByc2RvY3Rvci9tY3Atc2VydmVyQGxhdGVzdCJ9">
130
+ <img
131
+ src="https://cursor.com/deeplink/mcp-install-dark.svg"
132
+ alt="将 Rsdoctor MCP 服务器添加到 Cursor"
133
+ height="32"
134
+ />
135
+ </a>
136
+ </div>
137
+
128
138
  1. 在项目根目录创建 `.cursor/mcp.json`:
129
139
 
130
140
  ```json
@@ -141,7 +151,16 @@ RSDOCTOR=true npm run build
141
151
  2. 重启 Cursor 编辑器
142
152
  3. 在 MCP 面板中开始交互
143
153
 
144
- #### GitHub Copilot
154
+ #### VS Code / GitHub Copilot
155
+
156
+ <div style={{ display: 'inline-block', marginTop: 16 }}>
157
+ <a href="vscode:mcp/install?%7B%22name%22%3A%22rsdoctor%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40rsdoctor%2Fmcp-server%40latest%22%5D%7D">
158
+ <img
159
+ src="https://img.shields.io/badge/VS_Code-Install_Rsdoctor_MCP-0098FF?style=flat-square&logo=visualstudiocode&logoColor=ffffff"
160
+ alt="在 VS Code 中安装"
161
+ />
162
+ </a>
163
+ </div>
145
164
 
146
165
  1. 在项目根目录创建 `.vscode/mcp.json`,GitHub Copilot 默认会自动加载 MCP Server 配置
147
166
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/docs",
3
- "version": "1.2.0-beta.2",
3
+ "version": "1.2.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -31,7 +31,7 @@
31
31
  "rspress-plugin-font-open-sans": "^1.0.0",
32
32
  "rspress-plugin-sitemap": "^1.1.4",
33
33
  "typescript": "^5.2.2",
34
- "@rsdoctor/types": "1.2.0-beta.2"
34
+ "@rsdoctor/types": "1.2.1"
35
35
  },
36
36
  "dependencies": {
37
37
  "@rstack-dev/doc-ui": "1.10.8",