Initialize local Tabularium documentation monorepo
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# 图形与脚本
|
||||
|
||||
Python 绘图项目位于 `tools/figures`,使用 drawsvg 输出可编辑 SVG。脚本与输出都保留在 Git 中。
|
||||
|
||||
```sh
|
||||
pnpm figures
|
||||
```
|
||||
|
||||
下图是制图工作流的最小示例,用于验证从 Python 源码到文档图片的完整链路。
|
||||
|
||||

|
||||
|
||||
## 扩展方式
|
||||
|
||||
在 `tools/figures/src/endor_figures` 下保留各张图的生成逻辑,并在 CLI 中调用。输出目录通过源码位置计算,不依赖运行命令时所在的目录。
|
||||
|
||||
图形应使用本地字体与资源,并明确标注草案状态。未来可按具体需求加入自动布局、PNG 转换或 TypeScript SVG 工具。
|
||||
Reference in New Issue
Block a user