diff --git a/Changelog.md b/Changelog.md index 4fde514..d47055b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -16,6 +16,7 @@ 2. Fix: Fix a typo causing the broken anchor issue. 3. Fix: Make the action step of `yarn install` synchronized with the newest API. 4. Fix: `zh-cn` document cannot handle the line break correctly. Remove the unexpected line breaks. +5. Fix: Correct another typo caused by a wrong symbol. ### 0.1.2 @ 10/28/2024 diff --git a/docs/apis/services/data/ServiceData.mdx b/docs/apis/services/data/ServiceData.mdx index 8828630..a69059d 100644 --- a/docs/apis/services/data/ServiceData.mdx +++ b/docs/apis/services/data/ServiceData.mdx @@ -78,7 +78,7 @@ Register the a new file (a path or a file-like object) to the cache. | `content_type` | `str` | | The content-type in the response. An optional encoding can be provided here. If this value is not specified, will use `mime_type` to fill this value. | | `mime_type` | `str` | | The mime-type of the response. Typically, it is only determined by the type of the file. | | `one_time_service` | `bool` | |
A flag. When it is enabled, will use the on-exit mechanism to remove this cached data once it is served for once.
This option is recommended if this cached item is used for one-time downloading.
| -| `download` | `bool` | | If specified, will mark the returned address as a downloadable link.` | +| `download` | `bool` | | If specified, will mark the returned address as a downloadable link. | #### Returns diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/apis/services/data/ServiceData.mdx b/i18n/zh-cn/docusaurus-plugin-content-docs/current/apis/services/data/ServiceData.mdx index 22999f1..defc5be 100644 --- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/apis/services/data/ServiceData.mdx +++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/apis/services/data/ServiceData.mdx @@ -77,7 +77,7 @@ addr: str = service.register( | `content_type` | `str` | | 响应的内容类型。可以在这里指定可选的编码。若未指定,使用`mime_type`填充该值。 | | `mime_type` | `str` | | 响应的媒体类型。一般地,它只由数据的文件类型决定。 | | `one_time_service` | `bool` | |二值量。启用时,会透过退出机制、在数据下一次推送完毕后移出该缓存数据。
当数据仅用来完成一次下载时,建议启用该值。
| -| `download` | `bool` | | 二值量。启用时,会将返回的链接标记为专用于下载。` | +| `download` | `bool` | | 二值量。启用时,会将返回的链接标记为专用于下载。 | #### 输出 {#returns}