Skip to content

Commit

Permalink
Merge pull request #1709 from milvus-io/preview
Browse files Browse the repository at this point in the history
Preview
  • Loading branch information
ThyeeZz authored Dec 3, 2024
2 parents 35315a6 + 5885b05 commit 7165c5a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
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

0 comments on commit 7165c5a

Please sign in to comment.