Skip to content

Commit bafaca2

Browse files
authored
Add Valkey GLIDE C# client to clients page (#506)
### Description Adds the [Valkey GLIDE C#](https://github.com/valkey-io/valkey-glide-csharp) client to the website, following its [v1.0.0 release](https://github.com/valkey-io/valkey-glide-csharp/releases/tag/v1.0.0). Changes: - Added `"/csharp/valkey-GLIDE.json"` to the `recommended_clients_paths` list in `content/clients/_index.md` so the C# GLIDE client appears on the `/clients/` page. - Added a `csharp` case to the `format_language` macro in `templates/macros/docs.html` to render the language name as "C#" instead of "Csharp". - Added "C#" to the homepage clients card feature list in `content/_index.md`. ### Issues Resolved :white_circle: None ### Check List - [x] Commits are signed per the DCO using `--signoff` By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License. ### Related - The corresponding client JSON data file (`clients/csharp/valkey-GLIDE.json`) is being added to `valkey-doc` via valkey-io/valkey-doc#430. --------- Signed-off-by: currantw <taylor.curran@improving.com>
1 parent b2ee387 commit bafaca2

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ button_url = "/commands"
3636
[[extra.documentation_cards]]
3737
title = "Clients"
3838
description = "Official Valkey client libraries include support for:"
39-
features = ["Python", "Java", "Go", "Node.js", "PHP"]
39+
features = ["Python", "Java", "Go", "Node.js", "PHP", "C#"]
4040
button_text = "Learn More"
4141
button_url = "/clients"
4242

content/clients/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ recommended_clients_paths = [
1414
"/go/valkey-go.json",
1515
"/php/phpredis.json",
1616
"/php/predis.json",
17-
"/swift/valkey-swift.json"
17+
"/swift/valkey-swift.json",
18+
"/csharp/valkey-GLIDE.json"
1819
]
1920

2021
client_fields =[

templates/macros/docs.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
{% macro format_language(language) %}
7171
{% if language == "php" %}
7272
{{ language | upper }}
73+
{% elif language == "csharp" %}
74+
C#
7375
{% else %}
7476
{{ language | title }}
7577
{% endif %}

0 commit comments

Comments
 (0)