Skip to content

Commit 63ac750

Browse files
DOC-5769 stash current progress
1 parent ebba4ae commit 63ac750

File tree

7 files changed

+16
-11
lines changed

7 files changed

+16
-11
lines changed

build/components/example.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
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\(.*\)]'
1820
}
1921
PREFIXES = {
2022
'python': '#',
@@ -25,6 +27,8 @@
2527
'java-reactive': '//',
2628
'go': '//',
2729
'c#': '//',
30+
'c#-sync': '//',
31+
'c#-async': '//',
2832
'redisvl': '#',
2933
'php': '//',
3034
'rust': '//',

build/local_examples.py

Lines changed: 1 addition & 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',

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", "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/develop/clients/dotnet/vecsets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dotnet add package Microsoft.ML
4848
In a new C# file, import the required classes. Note that the `#pragma`
4949
directive suppresses warnings about the experimental status of the vector set API:
5050

51-
{{< clients-example set="home_vecsets" step="import" lang_filter="C#" >}}
51+
{{< clients-example set="home_vecsets" step="import" lang_filter="C#-Sync" >}}
5252
{{< /clients-example >}}
5353

5454
## Access the model

data/components/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"docs": [],
88
"modules": [],
99
"clients": [
10-
"nredisstack",
10+
"nredisstack_sync",
1111
"go_redis",
1212
"node_redis",
1313
"php",
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"id": "nredisstack",
2+
"id": "nredisstack_sync",
33
"type": "client",
4-
"name": "NRedisStack",
5-
"language": "C#",
6-
"label": "C#",
4+
"name": "NRedisStack_Sync",
5+
"language": "C#-Sync",
6+
"label": "C#-Sync",
77
"repository": {
88
"git_uri": "https://github.com/redis/NRedisStack"
99
},

layouts/partials/tabs/wrapper.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{{ range $i, $tab := $tabs }}
1313
{{ $tid := printf "%s_%s" (replace (replace (index $tab "title") "#" "sharp") "." "") $id }}
1414
{{ $pid := printf "panel_%s" $tid }}
15-
{{ $dataLang := replace (or (index $tab "language") "redis-cli") "C#" "dotnet" }}
15+
{{ $dataLang := replace (or (index $tab "language") "redis-cli") "C#-Sync" "dotnet_sync" }}
1616
{{ $dataLang := replace $dataLang "." "-" }}
1717
<input tabindex="1" type="radio" name="{{ $id }}" id="{{ $tid }}" data-lang="{{ $dataLang }}" class="radiotab w-0 h-0"
1818
{{ if eq $i 0 }}checked{{ end }}

0 commit comments

Comments
 (0)