From 4be780c5201250a0226a79ffd81b6b190630a80f Mon Sep 17 00:00:00 2001 From: Ralph Date: Thu, 14 Nov 2024 16:33:26 +0800 Subject: [PATCH] fix: fix doc break after upgraded prism-react-renderer to v2 (#101) --- docs/zh/docker-ce.mdx | 4 ++-- docs/zh/elrepo.mdx | 1 + docs/zh/raspberrypi.mdx | 1 + docs/zh/raspbian.mdx | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/zh/docker-ce.mdx b/docs/zh/docker-ce.mdx index d0ebc1e..e40dcfc 100644 --- a/docs/zh/docker-ce.mdx +++ b/docs/zh/docker-ce.mdx @@ -46,7 +46,7 @@ sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-pr 根据你的发行版,下面的内容有所不同。你使用的发行版: - + #### Fedora/CentOS/RHEL @@ -66,7 +66,7 @@ sudo yum install -y yum-utils device-mapper-persistent-data lvm2 根据你的发行版下载repo文件: - + 把软件仓库地址替换为浙大源: diff --git a/docs/zh/elrepo.mdx b/docs/zh/elrepo.mdx index 867d8bb..77f67c8 100644 --- a/docs/zh/elrepo.mdx +++ b/docs/zh/elrepo.mdx @@ -27,6 +27,7 @@ rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org promptString="" versionList={osVersion} friendlyNameList={versionName} + language="bash" configGen={configGen} /> 接下来是换源,建议先备份 `/etc/yum.repos.d/elrepo.repo` : diff --git a/docs/zh/raspberrypi.mdx b/docs/zh/raspberrypi.mdx index 301133a..3af094b 100644 --- a/docs/zh/raspberrypi.mdx +++ b/docs/zh/raspberrypi.mdx @@ -27,4 +27,5 @@ export const configGen = (version) => { promptString="" versionList={osVersion} friendlyNameList={versionName} + language="" configGen={configGen} /> diff --git a/docs/zh/raspbian.mdx b/docs/zh/raspbian.mdx index 774a90b..8ce6ad7 100644 --- a/docs/zh/raspbian.mdx +++ b/docs/zh/raspbian.mdx @@ -49,6 +49,7 @@ deb [arch=arm64] https://mirrors.zju.edu.cn/raspbian/multiarch/ ${release_name} promptString="" versionList={osVersion} friendlyNameList={versionName} + language="" configGen={configGen} />