diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-26 06:27:16 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-26 06:41:01 +0800 |
| commit | d1a74ce57e5be72436376a829e9c7e1e7c1c561b (patch) | |
| tree | 6ac923671fc09f1c47b613869d793ed3e04b91db /docs/example-pages | |
| parent | e735671acb3a81e1b7e334e56b9ef3963ba0c2fc (diff) | |
refactor(general_renderer): rename to structural_renderer
Diffstat (limited to 'docs/example-pages')
| -rw-r--r-- | docs/example-pages/examples.json | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/docs/example-pages/examples.json b/docs/example-pages/examples.json index 4d7c494..f3484f3 100644 --- a/docs/example-pages/examples.json +++ b/docs/example-pages/examples.json @@ -148,22 +148,6 @@ ] }, { - "id": "example-general-renderer", - "name": "General Renderer", - "icon": "📤", - "category": "output", - "desc": "Demonstrates how to render structured output in JSON or YAML using `GeneralRendererSetup` and the `general_renderer` feature.\n", - "tags": [ - "general_renderer", - "--json", - "--yaml" - ], - "files": [ - "src/main.rs", - "Cargo.toml" - ] - }, - { "id": "example-help", "name": "Help", "icon": "💡", @@ -239,11 +223,11 @@ "name": "Pack an Error", "icon": "🛑", "category": "macros", - "desc": "Demonstrates how to use the `pack_err!` macro to define error types with automatic `name` field (snake_case at compile time) and optional `info` field. Also shows `--json` serialization when `general_renderer` is enabled.\n", + "desc": "Demonstrates how to use the `pack_err!` macro to define error types with automatic `name` field (snake_case at compile time) and optional `info` field. Also shows `--json` serialization when `structural_renderer` is enabled.\n", "tags": [ "pack_err!", "extra_macros", - "general_renderer", + "structural_renderer", "--json" ], "files": [ @@ -310,6 +294,22 @@ ] }, { + "id": "example-structural-renderer", + "name": "structural renderer", + "icon": "📤", + "category": "output", + "desc": "Demonstrates how to render structured output in JSON or YAML using `StructuralRendererSetup` and the `structural_renderer` feature.\n", + "tags": [ + "structural_renderer", + "--json", + "--yaml" + ], + "files": [ + "src/main.rs", + "Cargo.toml" + ] + }, + { "id": "example-unit-test", "name": "Unit Test", "icon": "🧪", |
