Skip to content

Commit 39f8550

Browse files
committed
docs: 移除废弃功能相关文档
1 parent c2d485b commit 39f8550

4 files changed

Lines changed: 9 additions & 76 deletions

File tree

README.en.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,9 +1062,7 @@ enabled_components:
10621062

10631063
### Auto-Discovery
10641064

1065-
Cellium supports two component loading methods:
1066-
1067-
**1. Configuration Loading (Current Default)**
1065+
### Component Configuration
10681066

10691067
Explicitly declare components to load in the configuration file:
10701068

@@ -1073,16 +1071,6 @@ enabled_components:
10731071
- app.components.calculator.Calculator
10741072
```
10751073
1076-
**2. Auto-Discovery (Optional)**
1077-
1078-
Configure automatic scanning of the `app/components/` directory to discover and load all ICell implementations:
1079-
1080-
```yaml
1081-
auto_discover: true
1082-
scan_paths:
1083-
- app.components
1084-
```
1085-
10861074
## Quick Start
10871075
10881076
### 1. Run Application

README.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,9 +1183,9 @@ window.mbQuery(0, 'mycell:greet:Cellium', function(customMsg, response) {
11831183
})
11841184
```
11851185

1186-
## 配置指南
1186+
### 组件配置
11871187

1188-
组件通过 `config/settings.yaml` 配置文件管理
1188+
在配置文件中显式声明要加载的组件
11891189

11901190
```yaml
11911191
# config/settings.yaml
@@ -1195,29 +1195,6 @@ enabled_components:
11951195
# - app.components.debug.DebugTool <-- 注释则不加载
11961196
```
11971197

1198-
### 自动发现
1199-
1200-
Cellium 支持两种组件加载方式:
1201-
1202-
**1. 配置加载(当前默认)**
1203-
1204-
在配置文件中显式声明要加载的组件:
1205-
1206-
```yaml
1207-
enabled_components:
1208-
- app.components.calculator.Calculator
1209-
```
1210-
1211-
**2. 自动扫描(可选)**
1212-
1213-
配置自动扫描 `app/components/` 目录,发现并加载所有 ICell 实现:
1214-
1215-
```yaml
1216-
auto_discover: true
1217-
scan_paths:
1218-
- app.components
1219-
```
1220-
12211198
## 快速开始
12221199

12231200
### 1. 运行应用

docs/index.en.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -846,31 +846,15 @@ Components are managed through `config/settings.yaml` configuration file:
846846
# config/settings.yaml
847847
enabled_components:
848848
- app.components.calculator.Calculator
849-
- app.components.filemanager.FileManager
850-
# - app.components.debug.DebugTool <-- Comment to not load
851-
```
852-
853-
### Auto-Discovery
854-
855-
Cellium supports two component loading methods:
856-
857-
**1. Configuration Loading (Current Default)**
849+
### Component Configuration
858850

859851
Explicitly declare components to load in the configuration file:
860852

861853
```yaml
862854
enabled_components:
863855
- app.components.calculator.Calculator
864-
```
865-
866-
**2. Auto-Discovery (Optional)**
867-
868-
Configure automatic scanning of the `app/components/` directory to discover and load all ICell implementations:
869-
870-
```yaml
871-
auto_discover: true
872-
scan_paths:
873-
- app.components
856+
- app.components.filemanager.FileManager
857+
# - app.components.debug.DebugTool <-- Comment to not load
874858
```
875859

876860
## Quick Start

docs/index.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -973,31 +973,15 @@ window.mbQuery(0, 'mycell:greet:Cellium', function(customMsg, response) {
973973
# config/settings.yaml
974974
enabled_components:
975975
- app.components.calculator.Calculator
976-
- app.components.filemanager.FileManager
977-
# - app.components.debug.DebugTool <-- 注释则不加载
978-
```
979-
980-
### 自动发现
981-
982-
Cellium 支持两种组件加载方式:
983-
984-
**1. 配置加载(当前默认)**
976+
### 组件配置
985977

986978
在配置文件中显式声明要加载的组件:
987979

988980
```yaml
989981
enabled_components:
990982
- app.components.calculator.Calculator
991-
```
992-
993-
**2. 自动扫描(可选)**
994-
995-
配置自动扫描 `app/components/` 目录,发现并加载所有 ICell 实现:
996-
997-
```yaml
998-
auto_discover: true
999-
scan_paths:
1000-
- app.components
983+
- app.components.filemanager.FileManager
984+
# - app.components.debug.DebugTool <-- 注释则不加载
1001985
```
1002986

1003987
## 快速开始

0 commit comments

Comments
 (0)