Skip to content

Commit d76d617

Browse files
committed
Merge branch 'release-rs-gilboa' into DOC-5567
2 parents 5908f8f + b4a52ea commit d76d617

File tree

70 files changed

+2853
-1250
lines changed

Some content is hidden

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

70 files changed

+2853
-1250
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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
'java-sync': '@Test',
1515
'java-async': '@Test',
1616
'java-reactive': '@Test',
17-
'c#': r'\[Fact]|\[SkipIfRedis\(.*\)]'
17+
'c#': r'\[Fact]|\[SkipIfRedis\(.*\)]',
18+
'c#-sync': r'\[Fact]|\[SkipIfRedis\(.*\)]',
19+
'c#-async': r'\[Fact]|\[SkipIfRedis\(.*\)]',
20+
'rust': r'#\[test]|#\[cfg\(test\)]|#\[tokio::test]'
1821
}
1922
PREFIXES = {
2023
'python': '#',
@@ -25,6 +28,8 @@
2528
'java-reactive': '//',
2629
'go': '//',
2730
'c#': '//',
31+
'c#-sync': '//',
32+
'c#-async': '//',
2833
'redisvl': '#',
2934
'php': '//',
3035
'rust': '//',

build/local_examples.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
'python': 'Python',
3535
'node.js': 'Node.js',
3636
'go': 'Go',
37-
'c#': 'C#',
37+
'c#': 'C#-Sync',
3838
'java': 'Java-Sync', # Default to sync, could be overridden
3939
'php': 'PHP',
4040
'redisvl': 'RedisVL',
@@ -72,6 +72,11 @@ def get_client_name_from_language_and_path(language: str, path: str) -> str:
7272
return 'Rust-Async'
7373
if 'rust-sync' in path:
7474
return 'Rust-Sync'
75+
if language == 'c#':
76+
if 'async' in path:
77+
return 'C#-Async'
78+
if 'sync' in path:
79+
return 'C#-Sync'
7580
# Default behavior for all languages (and Java fallback)
7681
return get_client_name_from_language(language)
7782

config.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ tagManagerId = "GTM-TKZ6J9R"
4545
gitHubRepo = "https://github.com/redis/docs"
4646

4747
# Display and sort order for client examples
48-
clientsExamples = ["Python", "Node.js", "Java-Sync", "Java-Async", "Java-Reactive", "Go", "C#", "RedisVL", "PHP", "Rust-Sync", "Rust-Async"]
48+
clientsExamples = ["Python", "Node.js", "Java-Sync", "Java-Async", "Java-Reactive", "Go", "C#-Sync", "C#-Async", "RedisVL", "PHP", "Rust-Sync", "Rust-Async"]
4949
searchService = "/convai/api/search-service"
5050
ratingsService = "/docusight/api/rate"
5151

@@ -64,7 +64,8 @@ rdi_current_version = "1.14.1"
6464
"Java-async"={quickstartSlug="lettuce"}
6565
"Java-reactive"={quickstartSlug="lettuce"}
6666
"Go"={quickstartSlug="go"}
67-
"C#"={quickstartSlug="dotnet"}
67+
"C#-Sync"={quickstartSlug="dotnet"}
68+
"C#-Async"={quickstartSlug="dotnet"}
6869
"RedisVL"={quickstartSlug="redis-vl"}
6970
"PHP"={quickstartSlug="php"}
7071
"Rust-sync"={quickstartSlug="rust"}

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)