Skip to content

Commit 53d1dbb

Browse files
committed
[Feat] update app data
1 parent 85e4b05 commit 53d1dbb

3 files changed

Lines changed: 16 additions & 11 deletions

File tree

app/Trunk.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
target = "index.html"
33
dist = "dist"
44

5-
# [[hooks]]
6-
# stage = "pre_build"
7-
# command = "echo '123'"
8-
# command_arguments = []
5+
[watch]
6+
# Ignore auto generated files
7+
ignore = [ "src/vfs.json" ]
8+
watch = [ "../data" ]
9+
10+
[[hooks]]
11+
stage = "pre_build"
12+
command = "cargo"
13+
command_arguments = ['xtask', "metadata-generate"]

app/src/vfs.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"kind": "directory",
55
"extension": null,
66
"size": null,
7-
"modified": "2025-11-27T12:26:51.166042061Z",
7+
"modified": "2025-11-29T15:29:30.885867716Z",
88
"children_count": 10,
99
"children": [
1010
{
@@ -117,12 +117,12 @@
117117
"path": "index.md",
118118
"kind": "file",
119119
"extension": "md",
120-
"size": 3345,
121-
"modified": "2025-11-27T12:26:51.157065855Z",
120+
"size": 3319,
121+
"modified": "2025-11-29T15:29:30.885217555Z",
122122
"children_count": null,
123123
"children": null,
124-
"title": "数据目录",
125-
"description": "包含所有演示文件和文档的根目录",
124+
"title": "Data datalog",
125+
"description": "Root directory includes all demo files and images",
126126
"is_post": false
127127
},
128128
{

data/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--
2-
title: 数据目录
3-
description: 包含所有演示文件和文档的根目录
2+
title: Data datalog
3+
description: Root directory includes all demo files and images
44
tags: root, demo, documentation
55
--
66

0 commit comments

Comments
 (0)