aboutsummaryrefslogtreecommitdiff
path: root/docs/pages
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-26 06:27:16 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-26 06:41:01 +0800
commitd1a74ce57e5be72436376a829e9c7e1e7c1c561b (patch)
tree6ac923671fc09f1c47b613869d793ed3e04b91db /docs/pages
parente735671acb3a81e1b7e334e56b9ef3963ba0c2fc (diff)
refactor(general_renderer): rename to structural_renderer
Diffstat (limited to 'docs/pages')
-rw-r--r--docs/pages/other/features.md16
-rw-r--r--docs/pages/other/naming_rule.md2
2 files changed, 9 insertions, 9 deletions
diff --git a/docs/pages/other/features.md b/docs/pages/other/features.md
index 5ee0497..ea5fc93 100644
--- a/docs/pages/other/features.md
+++ b/docs/pages/other/features.md
@@ -7,7 +7,7 @@
**Description:**
-Enables serde formatting support for all serialization formats (JSON, RON, TOML, YAML) in `general_renderer`.
+Enables serde formatting support for all serialization formats (JSON, RON, TOML, YAML) in `structural_renderer`.
Enabling this feature will automatically enable the four sub-features: `json_serde_fmt`, `ron_serde_fmt`, `toml_serde_fmt`, `yaml_serde_fmt`.
@@ -208,27 +208,27 @@ pack_err!(ErrorNotDir = PathBuf);
</details>
-## Feature `general_renderer`
+## Feature `structural_renderer`
**Description:**
-Enables the general renderer, providing basic content rendering capabilities. Enabling this feature will automatically enable `json_serde_fmt`.
+Enables the structural renderer, providing basic content rendering capabilities. Enabling this feature will automatically enable `json_serde_fmt`.
When enabled, users can get structured output via flags like `--json` or `--yaml`.
-See [example](https://mingling-rs.github.io/mingling/docs/example-viewer.html?name=example-general-renderer)
+See [example](https://mingling-rs.github.io/mingling/docs/example-viewer.html?name=example-structural-renderer)
-## Feature `general_renderer_empty`
+## Feature `structural_renderer_empty`
**Description:**
-Enables an empty implementation of the general renderer, suitable for scenarios where no actual rendering is needed. This feature does not enable any serde formatting backend.
+Enables an empty implementation of the structural renderer, suitable for scenarios where no actual rendering is needed. This feature does not enable any serde formatting backend.
-## Feature `general_renderer_full`
+## Feature `structural_renderer_full`
**Description:**
-Enables the full implementation of the general renderer, including all rendering capabilities and serialization format support. Enabling this feature will automatically enable `all_serde_fmt`.
+Enables the full implementation of the structural renderer, including all rendering capabilities and serialization format support. Enabling this feature will automatically enable `all_serde_fmt`.
## Feature `json_serde_fmt`
diff --git a/docs/pages/other/naming_rule.md b/docs/pages/other/naming_rule.md
index 9443481..4f4efe8 100644
--- a/docs/pages/other/naming_rule.md
+++ b/docs/pages/other/naming_rule.md
@@ -36,7 +36,7 @@ Name + Setup
| Example | Description |
| ---------------------- | ---------------------------------------------------------- |
| `BasicSetup` | Basic initialization (`--quiet`, `--help`, `--confirm`) |
-| `GeneralRendererSetup` | General renderer initialization (`--json`, `--yaml`, etc.) |
+| `StructuralRendererSetup` | structural renderer initialization (`--json`, `--yaml`, etc.) |
### Dispatcher