This is an automated email from the ASF dual-hosted git repository. shuai pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/answer-website.git
The following commit(s) were added to refs/heads/main by this push: new f4f44cfb3 fix: update env.md for zh f4f44cfb3 is described below commit f4f44cfb3c65c3afd3dc3689bfbe688b4e73a95b Author: shuai <lishuail...@sifou.com> AuthorDate: Wed May 7 10:14:21 2025 +0800 fix: update env.md for zh --- .../docusaurus-plugin-content-docs/current/getting-started/env.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/env.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/env.md index dc21376b8..152fd8aaa 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/env.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/env.md @@ -24,6 +24,13 @@ slug: /env - `ADMIN_NAME`: 管理员姓名 - `ADMIN_PASSWORD`: 管理员密码 - `ADMIN_EMAIL`: 管理员邮箱 +- `EXTERNAL_CONTENT_DISPLAY`: 内容包括图片、视频和从外部网站嵌入的媒体。 支持 [`always_display` `ask_before_display`] + +### 用于覆盖配置文件 + +- `SWAGGER_HOST` - swagger 显示的地址, 比如 `192.168.12.12` 或者 `answer.apache.org` +- `SWAGGER_ADDRESS_PORT` - swagger 显示的端口, 比如 `:3000` +- `SITE_ADDR` - 网站运行的地址, 比如 `0.0.0.0:3000` ## Log