Skip to content

Commit b4a52ea

Browse files
committed
Merge branch 'main' into release-rs-gilboa
2 parents b6b00b7 + 18c7fc9 commit b4a52ea

File tree

25 files changed

+1858
-1164
lines changed

25 files changed

+1858
-1164
lines changed

assets/css/index.css

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -395,34 +395,30 @@ select {
395395
@apply text-redis-red-500;
396396
}
397397

398-
.codetabs .label {
399-
min-width: 2rem;
400-
line-height: 0.852rem;
401-
color: #8CA0AD;
402-
}
403-
404-
.codetabs .label:active {
405-
color: white;
398+
/* Language selector dropdown styling */
399+
.codetabs .lang-selector {
400+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
401+
background-repeat: no-repeat;
402+
background-position: right 0.5rem center;
403+
background-size: 1.5em 1.5em;
404+
padding-right: 2.5rem;
406405
}
407406

408-
409-
.codetabs .radiotab:focus + .label {
410-
@apply bg-transparent text-indigo-600;
407+
.codetabs .codetabs-header {
408+
border-bottom: 1px solid #475569;
411409
}
412410

413-
.codetabs .radiotab:checked + .label {
414-
@apply border-slate-900 not-italic;
415-
@apply bg-slate-600 text-white pt-1 mt-2.5;
416-
411+
/* Panel visibility controlled by JavaScript */
412+
.codetabs .panel.panel-hidden {
413+
display: none !important;
417414
}
418415

419-
420-
.codetabs .radiotab:checked + .label + .panel {
421-
@apply block;
416+
.codetabs .panel:not(.panel-hidden) {
417+
display: block;
422418
}
423419

424420
.codetabs > .panel .highlight > .chroma {
425-
@apply rounded-tl-none m-0;
421+
@apply rounded-t-none m-0;
426422
font-size: 0.875rem;
427423
line-height: 1.25rem;
428424
}

build/components/example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
'java-reactive': '@Test',
1717
'c#': r'\[Fact]|\[SkipIfRedis\(.*\)]',
1818
'c#-sync': r'\[Fact]|\[SkipIfRedis\(.*\)]',
19-
'c#-async': r'\[Fact]|\[SkipIfRedis\(.*\)]'
19+
'c#-async': r'\[Fact]|\[SkipIfRedis\(.*\)]',
20+
'rust': r'#\[test]|#\[cfg\(test\)]|#\[tokio::test]'
2021
}
2122
PREFIXES = {
2223
'python': '#',

content/commands/hdel.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ If `key` does not exist, it is treated as an empty hash and this command returns
6363

6464
## Examples
6565

66+
{{< clients-example set="cmds_hash" step="hdel" >}}
67+
HSET myhash field1 "foo"
68+
(integer) 1
69+
HDEL myhash field1
70+
(integer) 1
71+
HDEL myhash field2
72+
(integer) 0
73+
{{< /clients-example >}}
74+
75+
Give these commands a try in the interactive console:
76+
6677
{{% redis-cli %}}
6778
HSET myhash field1 "foo"
6879
HDEL myhash field1

content/develop/ai/langcache/api-reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ linkTitle: API reference
44
layout: apireference
55
type: page
66
params:
7+
sourcefile: ./api.yaml
78
sortOperationsAlphabetically: false
89
---

0 commit comments

Comments
 (0)