Skip to content

Commit 0ea5739

Browse files
committed
Merge branch 'main' into DOC-5496
2 parents 1dd40dd + 5fc78f4 commit 0ea5739

File tree

1,528 files changed

+145952
-3073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,528 files changed

+145952
-3073
lines changed

.github/workflows/redisvl_docs_sync.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ jobs:
4040

4141
- name: 'Install deps'
4242
run: |
43-
pip3 install -U sphinx
44-
pip3 install sphinx_design sphinx_copybutton nbsphinx sphinx_favicon myst_nb sphinx_markdown_builder==0.6.8 jupyter
43+
pip3 install sphinx sphinx_design sphinx_copybutton nbsphinx==0.9.7 sphinx_favicon myst_nb sphinx_markdown_builder==0.6.8 jupyter
4544
4645
- name: 'Fetch redisvl repo'
4746
run: |
@@ -338,4 +337,4 @@ jobs:
338337
--head "$branch" \
339338
--base "main"
340339
fi
341-
fi
340+
fi

assets/css/index.css

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ section.prose {
8888
@apply bg-slate-900 rounded-lg;
8989
}
9090

91+
.prose pre.mermaid {
92+
background-color: white !important;
93+
border-radius: 0.5rem;
94+
padding: 1rem;
95+
}
96+
97+
.prose pre.decision-tree-source {
98+
display: none;
99+
}
100+
91101
.prose pre > code {
92102
@apply bg-none font-monogeist;
93103
}
@@ -1068,7 +1078,22 @@ a[href*="#no-click"], img[src*="#no-click"] {
10681078
background-color: #ddd;
10691079
}
10701080

1071-
/* Redis AI Agent Builder Styles */
1081+
/* Copy button wrapper positioning */
1082+
.copy-button-wrapper {
1083+
position: absolute;
1084+
top: 24px;
1085+
right: 10px;
1086+
z-index: 1;
1087+
display: flex;
1088+
align-items: center;
1089+
gap: 6px;
1090+
}
1091+
1092+
.copy-button-wrapper.expand-content-wrapper {
1093+
right: 20px;
1094+
}
1095+
1096+
/* AI Agent Builder Styles */
10721097

10731098
.agent-builder-container {
10741099
@apply max-w-4xl mx-auto p-6 bg-white rounded-lg border border-redis-pen-800 shadow-lg;
@@ -1219,6 +1244,51 @@ a[href*="#no-click"], img[src*="#no-click"] {
12191244
}
12201245
}
12211246

1247+
/* Fix copy button overlap on smaller screens */
1248+
@media (max-width: 768px) {
1249+
/* Ensure code blocks have enough padding on the right to accommodate copy button */
1250+
.highlight {
1251+
padding-right: 60px !important;
1252+
}
1253+
1254+
/* Adjust copy button wrapper positioning for smaller screens */
1255+
.copy-button-wrapper {
1256+
right: 8px !important;
1257+
top: 8px !important;
1258+
}
1259+
1260+
.copy-button-wrapper.expand-content-wrapper {
1261+
right: 12px !important;
1262+
}
1263+
1264+
/* Make copy buttons slightly smaller on mobile */
1265+
.copy-button-wrapper .clipboard-button,
1266+
.copy-button-wrapper .download-yaml-btn {
1267+
width: 28px !important;
1268+
height: 28px !important;
1269+
padding: 2px !important;
1270+
}
1271+
}
1272+
1273+
@media (max-width: 480px) {
1274+
/* Even more padding for very small screens */
1275+
.highlight {
1276+
padding-right: 70px !important;
1277+
}
1278+
1279+
/* Stack buttons vertically on very small screens if both copy and download are present */
1280+
.copy-button-wrapper {
1281+
flex-direction: column !important;
1282+
gap: 4px !important;
1283+
right: 4px !important;
1284+
top: 4px !important;
1285+
}
1286+
1287+
.copy-button-wrapper.expand-content-wrapper {
1288+
right: 8px !important;
1289+
}
1290+
}
1291+
12221292
/* Form Groups */
12231293
.form-group {
12241294
@apply space-y-2;

build/components/example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
'java-async': '//',
2929
'java-reactive': '//',
3030
'go': '//',
31+
'c': '//',
3132
'c#': '//',
3233
'c#-sync': '//',
3334
'c#-async': '//',

0 commit comments

Comments
 (0)