Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview #1709

Merged
merged 4 commits into from
Dec 3, 2024
Merged

Preview #1709

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions conf/conf.d/client.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 4 additions & 0 deletions src/components/aside/index.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,7 @@ input.customInputField {
font-weight: 400;
line-height: 20px;
}

.advContainer {
margin-bottom: 40px;
}
5 changes: 4 additions & 1 deletion src/components/aside/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ const Aside = (props: AsidePropsType) => {
lang={lang}
/>
)}
<CloudAdvertisementCard language={lang} />
<CloudAdvertisementCard
language={lang}
className={styles.advContainer}
/>
{isShowBtnGroup && (
<ul
className={clsx(styles.btnsGroup, btnGroup, {
Expand Down
4 changes: 4 additions & 0 deletions src/styles/docsStyle.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Loading