From 86bc9000c5687db6434a5d20f409dda8b1d7a43a Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 28 Jun 2026 09:18:17 +0800 Subject: feat(docs): add Module Pathfinder example for the `pathf` feature --- docs/example-pages/examples.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docs/example-pages/examples.json') diff --git a/docs/example-pages/examples.json b/docs/example-pages/examples.json index f3484f3..a9af210 100644 --- a/docs/example-pages/examples.json +++ b/docs/example-pages/examples.json @@ -249,6 +249,24 @@ "Cargo.toml" ] }, + { + "id": "example-pathfinder", + "name": "Module Pathfinder", + "icon": "🧭", + "category": "advanced", + "desc": "Demonstrates the `pathf` feature, which automatically resolves type module paths at build time. Types can be defined in submodules without explicit `use` in the main module.\n", + "tags": [ + "pathf", + "build.rs", + "architecture" + ], + "files": [ + "Cargo.toml", + "build.rs", + "src/main.rs", + "src/sub/mod.rs" + ] + }, { "id": "example-repl-basic", "name": "REPL Basic", -- cgit