docs(python-client): 更新文档状态及表格格式对齐
- 将Python客户端SDK和示例状态从"待测试"更新为"测试通过" - 格式化配置项表格,调整列宽对齐提升可读性 - 格式化环境变量表格,统一各列对齐方式
This commit is contained in:
@@ -18,8 +18,8 @@ kenaito-conf/
|
|||||||
├── kenaito-conf-go-client-demo/ # (测试通过)Go 客户端示例
|
├── kenaito-conf-go-client-demo/ # (测试通过)Go 客户端示例
|
||||||
├── kenaito-conf-springboot2-client/ # (测试通过)Java Spring Boot 2.x 客户端 SDK(JDK 8+)
|
├── kenaito-conf-springboot2-client/ # (测试通过)Java Spring Boot 2.x 客户端 SDK(JDK 8+)
|
||||||
├── kenaito-conf-springboot2-client-demo/# (测试通过)Spring Boot 2.x 客户端示例(端口 8081)
|
├── kenaito-conf-springboot2-client-demo/# (测试通过)Spring Boot 2.x 客户端示例(端口 8081)
|
||||||
├── kenaito-conf-python-client/ # (待测试)Python 客户端 SDK(Python 3.10+)
|
├── kenaito-conf-python-client/ # (测试通过)Python 客户端 SDK(Python 3.10+)
|
||||||
├── kenaito-conf-python-client-demo/ # (待测试)Python 客户端示例(端口 8082)
|
├── kenaito-conf-python-client-demo/ # (测试通过)Python 客户端示例(端口 8082)
|
||||||
├── kenaito-conf-nodejs-client/ # (待测试)Node.js 客户端 SDK(Node.js 18+)
|
├── kenaito-conf-nodejs-client/ # (待测试)Node.js 客户端 SDK(Node.js 18+)
|
||||||
├── kenaito-conf-nodejs-client-demo/ # (待测试)Node.js 客户端示例(端口 8083)
|
├── kenaito-conf-nodejs-client-demo/ # (待测试)Node.js 客户端示例(端口 8083)
|
||||||
├── kenaito-conf-php-client/ # (待测试)PHP 客户端 SDK(PHP 8.0+)
|
├── kenaito-conf-php-client/ # (待测试)PHP 客户端 SDK(PHP 8.0+)
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ client.stop()
|
|||||||
## 配置项
|
## 配置项
|
||||||
|
|
||||||
| 参数 | 说明 | 默认值 |
|
| 参数 | 说明 | 默认值 |
|
||||||
|------|------|--------|
|
|-----------------|--------------------|----------|
|
||||||
| `base_url` | 配置中心地址 | 必填 |
|
| `base_url` | 配置中心地址 | 必填 |
|
||||||
| `app_name` | 应用名称 | 必填 |
|
| `app_name` | 应用名称 | 必填 |
|
||||||
| `env` | 环境(dev/daily/prod) | `dev` |
|
| `env` | 环境(dev/daily/prod) | `dev` |
|
||||||
@@ -65,7 +65,7 @@ Demo 默认监听 `8082` 端口,访问 `http://localhost:8082/` 查看配置
|
|||||||
环境变量覆盖:
|
环境变量覆盖:
|
||||||
|
|
||||||
| 环境变量 | 说明 | 默认值 |
|
| 环境变量 | 说明 | 默认值 |
|
||||||
|----------|------|--------|
|
|-------------------------|---------|---------------------------|
|
||||||
| `SERVER_PORT` | 服务端口 | `8082` |
|
| `SERVER_PORT` | 服务端口 | `8082` |
|
||||||
| `KENAITO_BASE_URL` | 配置中心地址 | `http://localhost:8080` |
|
| `KENAITO_BASE_URL` | 配置中心地址 | `http://localhost:8080` |
|
||||||
| `KENAITO_APP_NAME` | 应用名称 | `kenaito-springboot-demo` |
|
| `KENAITO_APP_NAME` | 应用名称 | `kenaito-springboot-demo` |
|
||||||
|
|||||||
Reference in New Issue
Block a user