From c368093c762c0bdea032e4a5c7d19168e06b159d Mon Sep 17 00:00:00 2001 From: "mimo.oyn" Date: Mon, 2 Dec 2024 17:04:17 +0800 Subject: [PATCH 1/2] fix: fix multiple code block style --- src/styles/docsStyle.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles/docsStyle.less b/src/styles/docsStyle.less index 0ccbdc3d..516c7ac5 100644 --- a/src/styles/docsStyle.less +++ b/src/styles/docsStyle.less @@ -741,6 +741,10 @@ margin: 20px 0 -16px 0; overflow-x: auto; + & + p:empty { + margin-bottom: 20px; + } + & ~ pre:has(code:not(.active)[class*='language-']) { margin-bottom: 0px; } From ab30be635cc5ffc4476f72a8390deb5a53b6e140 Mon Sep 17 00:00:00 2001 From: ThyeeZz Date: Tue, 3 Dec 2024 15:19:17 +0800 Subject: [PATCH 2/2] update nginx config --- conf/conf.d/client.conf | 1 + src/components/aside/index.module.less | 4 ++++ src/components/aside/index.tsx | 5 ++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/conf/conf.d/client.conf b/conf/conf.d/client.conf index e9364ffa..580e64b7 100644 --- a/conf/conf.d/client.conf +++ b/conf/conf.d/client.conf @@ -185,6 +185,7 @@ server { rewrite ^/docs/question_answering_system.md /docs/build-rag-with-milvus.md permanent; rewrite ^/docs/install_milvus.md /docs/install-overview.md permanent; + rewrite ^/api-reference/pymilvus/v2.5.x/ORM/utility/BulkInsertState.md /api-reference/pymilvus/v2.5.x/About.md permanent; expires -1; # Set it to different value depending on your standard requirements } diff --git a/src/components/aside/index.module.less b/src/components/aside/index.module.less index f4c8a886..01935d83 100644 --- a/src/components/aside/index.module.less +++ b/src/components/aside/index.module.less @@ -193,3 +193,7 @@ input.customInputField { font-weight: 400; line-height: 20px; } + +.advContainer { + margin-bottom: 40px; +} diff --git a/src/components/aside/index.tsx b/src/components/aside/index.tsx index ba55b6ea..91f5fd3f 100644 --- a/src/components/aside/index.tsx +++ b/src/components/aside/index.tsx @@ -171,7 +171,10 @@ const Aside = (props: AsidePropsType) => { lang={lang} /> )} - + {isShowBtnGroup && (