From 148f446eb6873f725259568244faeb65d7a3cd5f Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Thu, 22 Jun 2023 14:58:19 +0800 Subject: [PATCH] docs: hide tip of admin-old --- website/docs/deployment/admin.md | 20 ++++++++++--------- .../current/deployment/admin.md | 16 ++++++++------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/website/docs/deployment/admin.md b/website/docs/deployment/admin.md index 19cbf441..f629caa3 100644 --- a/website/docs/deployment/admin.md +++ b/website/docs/deployment/admin.md @@ -4,13 +4,13 @@ title: Deployment admin platform (optional) --- :::info -The feature of `admin` is still being iterated, and it is currently in the early trial version +The feature of `admin` is still being iterated, and it is currently in the early trial version We will continue to enrich the internal content in the future ::: Get the latest `admin` configuration from `github`: ```bash -wget https://raw.githubusercontent.com/msgbyte/tailchat/master/docker/admin.yml +wget https://raw.githubusercontent.com/msgbyte/tailchat/master/docker/admin.yml ``` Set the account and password of the `admin` in the environment variable `docker-compose.env`: @@ -22,7 +22,7 @@ ADMIN_PASS= Then use [Multiple Files](https://docs.docker.com/compose/extends/#understanding-multiple-compose-files) to start the application: ```bash -docker compose -f docker-compose.yml -f admin.yml up -d +docker compose -f docker-compose.yml -f admin.yml up -d ``` *Pay attention to the order, because `admin.yml` depends on `docker-compose.yml`, so it should be placed behind* @@ -35,10 +35,12 @@ https://tailchat.example.com/admin/ *Note: don't forget to have a `/` at the end* -:::info -Old version **admin-old** has been deprecated, if you still wanna use old version, you can use follow command to use it. +
+ About the deprecated legacy admin + + Old version admin-old has been deprecated, if you still wanna use old version, you can use follow command to use it: -``` -curl -L "https://raw.githubusercontent.com/msgbyte/tailchat/master/docker/admin-old.yml" -o admin.yml -``` -::: + ```jsx + curl -L "https://raw.githubusercontent.com/msgbyte/tailchat/master/docker/admin-old.yml" -o admin.yml + ``` +
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/admin.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/admin.md index a5aa71d9..0da2f7c6 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/admin.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/admin.md @@ -33,10 +33,12 @@ https://tailchat.example.com/admin/ *注意不要忘记在最后有一个`/`* -:::info -旧版本 **admin-old** 已被弃用,如果你依旧期望使用旧版本,可以使用以下命令来替换上面的命令 - -``` -curl -L "https://raw.githubusercontent.com/msgbyte/tailchat/master/docker/admin-old.yml" -o admin.yml -``` -::: +
+ 关于弃用的旧版admin + + 旧版本 admin-old 已被弃用,如果你依旧期望使用旧版本,可以使用以下命令来替换上面的命令: + + ```jsx + curl -L "https://raw.githubusercontent.com/msgbyte/tailchat/master/docker/admin-old.yml" -o admin.yml + ``` +