aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/verified-docs.toml8
-rw-r--r--.config/version-files.toml23
2 files changed, 31 insertions, 0 deletions
diff --git a/.config/verified-docs.toml b/.config/verified-docs.toml
new file mode 100644
index 0000000..f3b1f85
--- /dev/null
+++ b/.config/verified-docs.toml
@@ -0,0 +1,8 @@
+# Files marked in the following document,
+# all rust code blocks inside will be verified in CI to ensure they can compile
+
+[verified]
+readme = "./README.md"
+getting_started = "./GETTING_STARTED.md"
+documents_en_us = "./docs/pages/**"
+documents_zh_cn = "./docs/_zh_CN/pages/**"
diff --git a/.config/version-files.toml b/.config/version-files.toml
new file mode 100644
index 0000000..b69a568
--- /dev/null
+++ b/.config/version-files.toml
@@ -0,0 +1,23 @@
+[[file]]
+file = "./Cargo.toml"
+pattern = "version = \"{VER}\""
+
+[[file]]
+file = "./README.md"
+pattern = "version = \"{VER}\""
+
+[[file]]
+file = "./docs/_zh_CN/pages/1-getting-started.md"
+pattern = "version = \"{VER}\""
+
+[[file]]
+file = "./docs/pages/1-getting-started.md"
+pattern = "version = \"{VER}\""
+
+[[file]]
+file = "./docs/res/guide.txt"
+pattern = "mingling = \"{VER}\""
+
+[[file]]
+file = "./mingling_core/src/lib.rs"
+pattern = "mingling = \"{VER}\""