Skip to content

Commit f302177

Browse files
authored
chore: format md files (#722)
* feat: add Plausible analytics script to docusaurus configuration * docs: update migration guide for Apache Fesod with phased approach and configuration examples * refactor: remove Plausible analytics script from docusaurus configuration
1 parent 68109d4 commit f302177

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

website/docs/migration/from-fastexcel.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Replace your existing dependency with Apache Fesod (Incubating):
4444
| **Apache Fesod (Incubating)**| org.apache.fesod | fesod | 1.3.0+ |
4545

4646
**Maven:**
47+
4748
```xml
4849
<dependency>
4950
<groupId>org.apache.fesod</groupId>
@@ -53,6 +54,7 @@ Replace your existing dependency with Apache Fesod (Incubating):
5354
```
5455

5556
**Gradle:**
57+
5658
```gradle
5759
implementation 'org.apache.fesod:fesod:1.3.0'
5860
```
@@ -101,23 +103,27 @@ Replace deprecated entry point classes with FesodSheet.
101103
Utilize the deprecated alias classes for a phased migration approach.
102104

103105
**Phase 1: Dependency Update Only**
106+
104107
- Update Maven/Gradle dependency to Apache Fesod (Incubating)
105108
- Keep using FastExcel classes (now deprecated aliases)
106109
- Update package imports only
107110
- Run comprehensive tests to verify compatibility
108111

109112
**Phase 2: Class Name Migration**
113+
110114
- Progressively replace deprecated classes with FesodSheet
111115
- Use IDE refactoring tools for bulk renaming
112116
- Migrate module by module or feature by feature
113117
- Maintain thorough test coverage throughout
114118

115119
**Phase 3: Cleanup**
120+
116121
- Remove all references to deprecated classes
117122
- Resolve deprecation warnings
118123
- Update documentation and code comments
119124

120125
**Benefits:**
126+
121127
- Lower risk through incremental changes
122128
- Easier rollback if issues arise
123129
- Minimal disruption to ongoing development

website/i18n/zh-cn/docusaurus-plugin-content-docs/current/migration/from-fastexcel.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ keywords: [fesod, 迁移, fastexcel, apache, excel, 升级]
4444
| **Apache Fesod (Incubating)**| org.apache.fesod | fesod | 1.3.0+ |
4545

4646
**Maven 配置:**
47+
4748
```xml
4849
<dependency>
4950
<groupId>org.apache.fesod</groupId>
@@ -53,6 +54,7 @@ keywords: [fesod, 迁移, fastexcel, apache, excel, 升级]
5354
```
5455

5556
**Gradle 配置:**
57+
5658
```gradle
5759
implementation 'org.apache.fesod:fesod:1.3.0'
5860
```
@@ -101,23 +103,27 @@ implementation 'org.apache.fesod:fesod:1.3.0'
101103
利用已废弃的别名类进行分阶段迁移。
102104

103105
**阶段 1: 仅更新依赖**
106+
104107
- 将 Maven/Gradle 依赖更新为 Apache Fesod (Incubating)
105108
- 继续使用 FastExcel 类(现为已废弃的别名)
106109
- 仅更新包导入
107110
- 运行全面测试以验证兼容性
108111

109112
**阶段 2: 类名迁移**
113+
110114
- 逐步将已废弃的类替换为 FesodSheet
111115
- 使用 IDE 重构工具进行批量重命名
112116
- 逐个模块或逐个功能进行迁移
113117
- 在整个过程中保持全面的测试覆盖
114118

115119
**阶段 3: 清理**
120+
116121
- 删除所有对已废弃类的引用
117122
- 解决废弃警告
118123
- 更新文档和代码注释
119124

120125
**优势:**
126+
121127
- 通过增量更改降低风险
122128
- 如果出现问题更容易回滚
123129
- 对正在进行的开发影响最小

0 commit comments

Comments
 (0)