aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-29 15:10:11 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-29 15:10:57 +0800
commit709b672731bcc1b68209cadc38e0de78d7c28c03 (patch)
tree0e5d8fa7b77a52b9a51ecbd5476e33f2e93274ec /docs
parentdc05173f3eafe0e782bc8824581c3819c8688782 (diff)
feat(examples): add pathf + dispatch tree combination example
Diffstat (limited to 'docs')
-rw-r--r--docs/example-pages/examples.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/example-pages/examples.json b/docs/example-pages/examples.json
index a9af210..a539011 100644
--- a/docs/example-pages/examples.json
+++ b/docs/example-pages/examples.json
@@ -61,6 +61,25 @@
]
},
{
+ "id": "example-combine-pathf-dispatch-tree",
+ "name": "Pathfinder + Dispatch Tree",
+ "icon": "🧭",
+ "category": "advanced",
+ "desc": "Demonstrates combining the `pathf` and `dispatch_tree` features. Types are defined in submodules and automatically resolved. Requires `dispatch_tree` in both `[dependencies]` and `[build-dependencies]`.\n",
+ "tags": [
+ "pathf",
+ "dispatch_tree",
+ "extra_macros",
+ "build.rs"
+ ],
+ "files": [
+ "src/main.rs",
+ "src/sub/mod.rs",
+ "build.rs",
+ "Cargo.toml"
+ ]
+ },
+ {
"id": "example-completion",
"name": "Completion",
"icon": "🔄",