Skip to content

Commit e8f5ed9

Browse files
committed
📝 添加博客文章
1 parent 92276b8 commit e8f5ed9

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: v2.0.0-alpha.2 正式发布
3+
date: 2025-07-24
4+
author: zty012
5+
---
6+
7+
我们很高兴地宣布 Project Graph 2.0.0-alpha.2 正式发布!
8+
9+
## 免责声明
10+
11+
此版本是测试版本,存在一些问题,使用此版本导致的数据丢失、文件损坏等风险由使用者自行承担。
12+
13+
## 新功能
14+
15+
### 文本渲染缓存
16+
17+
现在只会在第一次渲染文本时构建缓存,之后渲染相同的文本时会直接使用缓存。
18+
19+
缩放摄像机时,会自动找到最接近的缓存图片,然后进行位图缩放,此行为可以在设置中修改。

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"shiki": "^3.8.1",
3030
"tailwind-merge": "^3.3.1",
3131
"ts-morph": "^26.0.0",
32+
"unified": "^11.0.5",
3233
"zod": "^4.0.5"
3334
},
3435
"devDependencies": {

docs/source.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineCollections, defineConfig, defineDocs, frontmatterSchema } from "fumadocs-mdx/config";
22
import rehypeKatex from "rehype-katex";
33
import remarkMath from "remark-math";
4+
import { Pluggable } from "unified";
45
import { z } from "zod";
56

67
export const docs = defineDocs({
@@ -27,6 +28,6 @@ export default defineConfig({
2728
// MDX options
2829
remarkPlugins: [remarkMath],
2930
// Place it at first so that it won't be changed by syntax highlighter
30-
rehypePlugins: (v) => [rehypeKatex, ...v],
31+
rehypePlugins: (v: Pluggable[]) => [rehypeKatex, ...v],
3132
},
3233
});

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)