Commit 3cbcb1e3 by Archer Committed by GitHub

Fix doc (#5439)

* doc

* doc

* remove workflow
parent c51395b2
...@@ -78,12 +78,12 @@ jobs: ...@@ -78,12 +78,12 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Rewrite image paths # - name: Rewrite image paths
if: matrix.domain_config.suffix == 'io' # if: matrix.domain_config.suffix == 'io'
run: | # run: |
find document/content/docs -name "*.mdx" -type f | while read file; do # find document/content/docs -name "*.mdx" -type f | while read file; do
sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file" # sed -i 's|](/imgs/|](https://cdn.jsdelivr.net/gh/labring/fastgpt-img@main/|g' "$file"
done # done
- name: Docker meta - name: Docker meta
id: meta id: meta
......
...@@ -151,8 +151,8 @@ services: ...@@ -151,8 +151,8 @@ services:
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git image: ghcr.io/labring/fastgpt:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -209,15 +209,15 @@ services: ...@@ -209,15 +209,15 @@ services:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -226,8 +226,8 @@ services: ...@@ -226,8 +226,8 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -126,8 +126,8 @@ services: ...@@ -126,8 +126,8 @@ services:
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git image: ghcr.io/labring/fastgpt:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -183,15 +183,15 @@ services: ...@@ -183,15 +183,15 @@ services:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -200,8 +200,8 @@ services: ...@@ -200,8 +200,8 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -112,8 +112,8 @@ services: ...@@ -112,8 +112,8 @@ services:
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git image: ghcr.io/labring/fastgpt:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -169,15 +169,15 @@ services: ...@@ -169,15 +169,15 @@ services:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -186,8 +186,8 @@ services: ...@@ -186,8 +186,8 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -92,8 +92,8 @@ services: ...@@ -92,8 +92,8 @@ services:
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git image: ghcr.io/labring/fastgpt:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -151,15 +151,15 @@ services: ...@@ -151,15 +151,15 @@ services:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -168,8 +168,8 @@ services: ...@@ -168,8 +168,8 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
...@@ -95,8 +95,8 @@ services: ...@@ -95,8 +95,8 @@ services:
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.11.1-fix2 # git image: ghcr.io/labring/fastgpt:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.11.1-fix2 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
...@@ -152,15 +152,15 @@ services: ...@@ -152,15 +152,15 @@ services:
- ./config.json:/app/data/config.json - ./config.json:/app/data/config.json
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.11.1 # git image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.11.1 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.11.1 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -169,8 +169,8 @@ services: ...@@ -169,8 +169,8 @@ services:
environment: environment:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt-plugin: fastgpt-plugin:
image: ghcr.io/labring/fastgpt-plugin:v0.1.7 # git image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.7 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
container_name: fastgpt-plugin container_name: fastgpt-plugin
restart: always restart: always
networks: networks:
......
{ {
"title": "4.12.x", "title": "4.11.x",
"description": "", "description": "",
"pages": ["4120"] "pages": ["4111", "4110"]
} }
--- ---
title: 'V4.12.0(进行中)' title: 'V4.12.0(包含升级脚本)'
description: 'FastGPT V4.12.0 更新说明' description: 'FastGPT V4.12.0 更新说明'
--- ---
...@@ -7,7 +7,23 @@ description: 'FastGPT V4.12.0 更新说明' ...@@ -7,7 +7,23 @@ description: 'FastGPT V4.12.0 更新说明'
### 1. 更新镜像: ### 1. 更新镜像:
### 2. 执行升级脚本 - 更新 FastGPT 镜像tag: v4.12.0
- 更新 FastGPT 商业版镜像tag: v4.12.0
- 更新 fastgpt-plugin 镜像 tag: v0.1.9
- mcp_server 无需更新
- Sandbox 无需更新
- AIProxy 无需更新
### 2. 修改环境变量
修改 FastGPT 商业版(fastgpt-pro) 环境变量:
```sh
# 文件阅读时的密钥,与 fastgpt 镜像中环境变量一致
FILE_TOKEN_KEY=filetokenkey
```
### 3. 执行升级脚本
该脚本仅需商业版用户执行。 该脚本仅需商业版用户执行。
......
{ {
"title": "4.11.x", "title": "4.12.x",
"description": "", "description": "",
"pages": ["4112", "4111", "4110"] "pages": ["4120"]
} }
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
"description": "FastGPT 版本更新介绍及升级操作", "description": "FastGPT 版本更新介绍及升级操作",
"pages": [ "pages": [
"index", "index",
"---4.12.x---",
"...4-12",
"---4.11.x---", "---4.11.x---",
"...4-11", "...4-11",
"---4.10.x---", "---4.10.x---",
......
...@@ -21,17 +21,17 @@ ...@@ -21,17 +21,17 @@
"document/content/docs/introduction/development/design/dataset.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/design/dataset.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/design/design_plugin.mdx": "2025-07-24T13:00:27+08:00", "document/content/docs/introduction/development/design/design_plugin.mdx": "2025-07-24T13:00:27+08:00",
"document/content/docs/introduction/development/docker.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/introduction/development/docker.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/introduction/development/faq.mdx": "2025-08-09T14:20:10+08:00", "document/content/docs/introduction/development/faq.mdx": "2025-08-12T22:22:18+08:00",
"document/content/docs/introduction/development/intro.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/introduction/development/intro.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/introduction/development/migration/docker_db.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/migration/docker_db.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/migration/docker_mongo.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/migration/docker_mongo.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/modelConfig/ai-proxy.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/introduction/development/modelConfig/ai-proxy.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/introduction/development/modelConfig/intro.mdx": "2025-08-09T14:20:10+08:00", "document/content/docs/introduction/development/modelConfig/intro.mdx": "2025-08-12T22:22:18+08:00",
"document/content/docs/introduction/development/modelConfig/one-api.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/modelConfig/one-api.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/modelConfig/ppio.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/introduction/development/modelConfig/ppio.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/introduction/development/modelConfig/siliconCloud.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/introduction/development/modelConfig/siliconCloud.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/introduction/development/openapi/chat.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/introduction/development/openapi/chat.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/introduction/development/openapi/dataset.mdx": "2025-08-09T14:20:10+08:00", "document/content/docs/introduction/development/openapi/dataset.mdx": "2025-08-12T22:22:18+08:00",
"document/content/docs/introduction/development/openapi/intro.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/openapi/intro.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/openapi/share.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/introduction/development/openapi/share.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/introduction/development/proxy/cloudflare.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/introduction/development/proxy/cloudflare.mdx": "2025-07-23T21:35:03+08:00",
...@@ -97,12 +97,12 @@ ...@@ -97,12 +97,12 @@
"document/content/docs/protocol/terms.en.mdx": "2025-08-03T22:37:45+08:00", "document/content/docs/protocol/terms.en.mdx": "2025-08-03T22:37:45+08:00",
"document/content/docs/protocol/terms.mdx": "2025-08-03T22:37:45+08:00", "document/content/docs/protocol/terms.mdx": "2025-08-03T22:37:45+08:00",
"document/content/docs/toc.en.mdx": "2025-08-04T13:42:36+08:00", "document/content/docs/toc.en.mdx": "2025-08-04T13:42:36+08:00",
"document/content/docs/toc.mdx": "2025-08-12T13:45:56+08:00", "document/content/docs/toc.mdx": "2025-08-12T22:22:18+08:00",
"document/content/docs/upgrading/4-10/4100.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-10/4100.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-10/4101.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-10/4101.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00", "document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00", "document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00",
"document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T21:04:44+08:00", "document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T22:22:18+08:00",
"document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",
......
...@@ -16,7 +16,13 @@ const ProModal = (props: { isOpen?: boolean; onClose?: () => void }) => { ...@@ -16,7 +16,13 @@ const ProModal = (props: { isOpen?: boolean; onClose?: () => void }) => {
const onClose = props?.onClose ?? (() => setIsOpen(false)); const onClose = props?.onClose ?? (() => setIsOpen(false));
return feConfigs?.isPlus ? null : ( return feConfigs?.isPlus ? null : (
<MyModal isOpen={openModal} onClose={onClose} showCloseButton={false} w={'400px'} h={'392px'}> <MyModal
isOpen={openModal}
onClose={onClose}
showCloseButton={false}
w={'400px'}
minH={'392px'}
>
<ModalBody <ModalBody
userSelect={'none'} userSelect={'none'}
py={8} py={8}
......
...@@ -5,7 +5,7 @@ import { useSystemStore } from '@/web/common/system/useSystemStore'; ...@@ -5,7 +5,7 @@ import { useSystemStore } from '@/web/common/system/useSystemStore';
const LangMap: Record<string, string> = { const LangMap: Record<string, string> = {
'zh-CN': '/imgs/proTag.svg', 'zh-CN': '/imgs/proTag.svg',
'en-US': '/imgs/proTagEng.svg' en: '/imgs/proTagEng.svg'
}; };
const ProTag = () => { const ProTag = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment