From 2f92b78bc7baaa3acde77d6f18dcf9a4e1c9c405 Mon Sep 17 00:00:00 2001 From: "David W. Dougherty" Date: Tue, 13 May 2025 10:01:56 -0700 Subject: [PATCH 1/9] Test 1 --- content/develop/_index.md | 5 +++++ layouts/develop/list.html | 2 +- layouts/develop/single.html | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/content/develop/_index.md b/content/develop/_index.md index cb2abe4df8..6fa2de3bc3 100644 --- a/content/develop/_index.md +++ b/content/develop/_index.md @@ -1,5 +1,10 @@ --- title: Develop with Redis description: Learn how to develop with Redis +hideListLinks: true linkTitle: Develop --- + +| Try these commands | Redis Console (redis-cli) | +|:----- |----- | +| | {{< redis-cli >}}{{< /redis-cli >}} | \ No newline at end of file diff --git a/layouts/develop/list.html b/layouts/develop/list.html index 82b50f81cd..d88adacee8 100644 --- a/layouts/develop/list.html +++ b/layouts/develop/list.html @@ -5,7 +5,7 @@ {{ define "main" }}
{{ partial "docs-nav.html" . }} -
+
{{ partial "breadcrumbs" . }}

diff --git a/layouts/develop/single.html b/layouts/develop/single.html index a157d84ad3..10702bbe53 100644 --- a/layouts/develop/single.html +++ b/layouts/develop/single.html @@ -5,9 +5,9 @@ {{ define "main" }}
{{ partial "docs-nav.html" . }} -
+
{{ partial "breadcrumbs" . }} -
+

{{ .Title }}

{{ with .Params.description }}

{{ . | markdownify }}

{{ end }} From 91171da5f441221decaceacff486b8622b03540e Mon Sep 17 00:00:00 2001 From: "David W. Dougherty" Date: Tue, 13 May 2025 10:09:23 -0700 Subject: [PATCH 2/9] Test2 --- content/develop/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/develop/_index.md b/content/develop/_index.md index 6fa2de3bc3..6fddca93fd 100644 --- a/content/develop/_index.md +++ b/content/develop/_index.md @@ -7,4 +7,4 @@ linkTitle: Develop | Try these commands | Redis Console (redis-cli) | |:----- |----- | -| | {{< redis-cli >}}{{< /redis-cli >}} | \ No newline at end of file +| | {{< redis-cli >}}LOLWUT VERSION 6{{< /redis-cli >}} | \ No newline at end of file From b514a44b5be9b9ebea85eef6b582994c867141da Mon Sep 17 00:00:00 2001 From: "David W. Dougherty" Date: Tue, 13 May 2025 13:04:06 -0700 Subject: [PATCH 3/9] Test 3 --- content/develop/_index.md | 11 ++++++++--- layouts/develop/list.html | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/content/develop/_index.md b/content/develop/_index.md index 6fddca93fd..576ee9175e 100644 --- a/content/develop/_index.md +++ b/content/develop/_index.md @@ -5,6 +5,11 @@ hideListLinks: true linkTitle: Develop --- -| Try these commands | Redis Console (redis-cli) | -|:----- |----- | -| | {{< redis-cli >}}LOLWUT VERSION 6{{< /redis-cli >}} | \ No newline at end of file +The rest of the landing page. + +{{% redis-cli %}} +SET mykey "Hello" +GET mykey + +SET anotherkey "will expire in a minute" EX 60 +{{% /redis-cli %}} \ No newline at end of file diff --git a/layouts/develop/list.html b/layouts/develop/list.html index d88adacee8..b3d567ef7e 100644 --- a/layouts/develop/list.html +++ b/layouts/develop/list.html @@ -34,6 +34,45 @@

{{ end }} {{ end }} + + + + + + + + + + + + + + +
Try these Redis commands in the CLI to the rightRedis CLI
+

PING

+

HSET user:1 name antirez vocation artist

+

SET e 2.71

+

INCRBYFLOAT e 0.43

+

RENAME e pi

+
+
+
+ {{ partial "icons/cli-circle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }} + {{ partial "icons/cli-triangle" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }} + {{ partial "icons/cli-star" (dict "class" "shrink-0 h-[1.0625rem] w-[1.0625rem] fill-slate-50") }} +
+
+
+PING
+HSET user:1 name antirez vocation artist
+SET e 2.71
+INCRBYFLOAT e 0.43
+RENAME e pi
+                    
+
+
+
+ {{ .Content }} {{ if not .Params.hideListLinks }}