Skip to content

Commit 4971b26

Browse files
committed
Upgrade hugo version to v0.143.0
1 parent cbaa680 commit 4971b26

File tree

17 files changed

+35
-29
lines changed

17 files changed

+35
-29
lines changed

.github/workflows/main-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build the staging documentation site
88
runs-on: ubuntu-latest
99
env:
10-
HUGO_VERSION: 0.111.2
10+
HUGO_VERSION: 0.143.0
1111
GCLOUD_VERSION: 458.0.1-linux-x86_64
1212
BUCKET: docs-staging-learn-redis-com
1313
BUCKET_SERVICE_ACCOUNT: ${{ secrets.BUCKET_DOCUMENTATION_SA_STAGING }}

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build the production documentation site
88
runs-on: ubuntu-latest
99
env:
10-
HUGO_VERSION: 0.111.2
10+
HUGO_VERSION: 0.143.0
1111
GCLOUD_VERSION: 458.0.1-linux-x86_64
1212
BUCKET: docs-prod-learn-redis-com
1313
BUCKET_SERVICE_ACCOUNT: ${{ secrets.BUCKET_DOCUMENTATION_SA_PROD }}

content/develop/data-types/hashes.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,23 @@ This capability is comparable to [key expiration]({{< relref "/develop/use/keysp
105105

106106
Use the following commands to set either an exact expiration time or a TTL value for specific fields:
107107

108-
* [`HEXPIRE`]({{< relref "/commands/hexpire " >}}): set the remaining TTL in seconds.
109-
* [`HPEXPIRE`]({{< relref "/commands/hpexpire " >}}): set the remaining TTL in milliseconds.
110-
* [`HEXPIREAT`]({{< relref "/commands/hexpireat " >}}): set the expiration time to a timestamp[^1] specified in seconds.
111-
* [`HPEXPIREAT`]({{< relref "/commands/hpexpireat " >}}): set the expiration time to a timestamp specified in milliseconds.
108+
* [`HEXPIRE`]({{< relref "/commands/hexpire" >}}): set the remaining TTL in seconds.
109+
* [`HPEXPIRE`]({{< relref "/commands/hpexpire" >}}): set the remaining TTL in milliseconds.
110+
* [`HEXPIREAT`]({{< relref "/commands/hexpireat" >}}): set the expiration time to a timestamp[^1] specified in seconds.
111+
* [`HPEXPIREAT`]({{< relref "/commands/hpexpireat" >}}): set the expiration time to a timestamp specified in milliseconds.
112112

113113
[^1]: all timestamps are specified in seconds or milliseconds since the [Unix epoch](https://en.wikipedia.org/wiki/Unix_time).
114114

115115
Use the following commands to retrieve either the exact time when or the remaining TTL until specific fields will expire:
116116

117-
* [`HEXPIRETIME`]({{< relref "/commands/hexpiretime " >}}): get the expiration time as a timestamp in seconds.
118-
* [`HPEXPIRETIME`]({{< relref "/commands/hpexpiretime " >}}): get the expiration time as a timestamp in milliseconds.
119-
* [`HTTL`]({{< relref "/commands/httl " >}}): get the remaining TTL in seconds.
120-
* [`HPTTL`]({{< relref "/commands/hpttl " >}}): get the remaining TTL in milliseconds.
117+
* [`HEXPIRETIME`]({{< relref "/commands/hexpiretime" >}}): get the expiration time as a timestamp in seconds.
118+
* [`HPEXPIRETIME`]({{< relref "/commands/hpexpiretime" >}}): get the expiration time as a timestamp in milliseconds.
119+
* [`HTTL`]({{< relref "/commands/httl" >}}): get the remaining TTL in seconds.
120+
* [`HPTTL`]({{< relref "/commands/hpttl" >}}): get the remaining TTL in milliseconds.
121121

122122
Use the following command to remove the expiration of specific fields:
123123

124-
* [`HPERSIST`]({{< relref "/commands/hpersist " >}}): remove the expiration.
124+
* [`HPERSIST`]({{< relref "/commands/hpersist" >}}): remove the expiration.
125125

126126
### Common field expiration use cases
127127

content/operate/rs/7.4/databases/memory-performance/memory-limit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,5 @@ See [console metrics]({{< relref "/operate/rs/references/metrics" >}}) for more
8686
- [Disk sizing for heavy write scenarios]({{< relref "/operate/rs/clusters/optimize/disk-sizing-heavy-write-scenarios.md" >}})
8787
- [Turn off services to free system memory]({{< relref "/operate/rs/clusters/optimize/turn-off-services.md" >}})
8888
- [Eviction policy]({{< relref "/operate/rs/databases/memory-performance/eviction-policy.md" >}})
89-
- [Shard placement policy]({{< relref "/operate/rs/databases/memory-performance/shard-placement-policy.md " >}})
89+
- [Shard placement policy]({{< relref "/operate/rs/databases/memory-performance/shard-placement-policy.md" >}})
9090
- [Database persistence]({{< relref "/operate/rs/databases/configure/database-persistence.md" >}})

content/operate/rs/databases/memory-performance/memory-limit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,5 @@ See [console metrics]({{< relref "/operate/rs/references/metrics" >}}) for more
8585
- [Disk sizing for heavy write scenarios]({{< relref "/operate/rs/clusters/optimize/disk-sizing-heavy-write-scenarios.md" >}})
8686
- [Turn off services to free system memory]({{< relref "/operate/rs/clusters/optimize/turn-off-services.md" >}})
8787
- [Eviction policy]({{< relref "/operate/rs/databases/memory-performance/eviction-policy.md" >}})
88-
- [Shard placement policy]({{< relref "/operate/rs/databases/memory-performance/shard-placement-policy.md " >}})
88+
- [Shard placement policy]({{< relref "/operate/rs/databases/memory-performance/shard-placement-policy.md" >}})
8989
- [Database persistence]({{< relref "/operate/rs/databases/configure/database-persistence.md" >}})

layouts/commands/single.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,16 @@ <h1 class="command-name">
7575
{{ $complement := complement $resp2 $resp3 }}
7676
{{ if eq (len $complement) 0 }}
7777
{{ $same = true }}
78-
{{ $responses = $responses | append (slice $resp2) }}
78+
{{ $responses = $responses | append (dict "response" $resp2) }}
7979
{{ printf "## RESP2/RESP3 Reply" | markdownify }}
8080
{{ else }}
81-
{{ $responses = $responses | append (slice $resp2) }}
82-
{{ $responses = $responses | append (slice $resp3) }}
81+
{{ $responses = $responses | append (dict "response" $resp2) }}
82+
{{ $responses = $responses | append (dict "response" $resp3) }}
8383
{{ end }}
8484

8585
{{ $respver := 2 }}
8686
{{ range $response := $responses }}
87-
{{ with $response }}
87+
{{ with $response.response }}
8888
{{ if eq $same false }}
8989
{{ printf "## RESP%d Reply" $respver | markdownify }}
9090
{{ $respver = add $respver 1 }}

layouts/develop/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1>
2323
section-wide banner is enabled by a parent page's front matter -->
2424
{{ $ancestorDirs := slice }}
2525
{{ with .File }}
26-
{{ $ancestorDirs = split .File.Dir "/" }}
26+
{{ $ancestorDirs = split .Dir "/" }}
2727
{{ end }}
2828
{{ $currPage := .Page }}
2929
{{ range $i, $page := $ancestorDirs }}

layouts/develop/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1>
2121
section-wide banner is enabled by a parent page's front matter -->
2222
{{ $ancestorDirs := slice }}
2323
{{ with .File }}
24-
{{ $ancestorDirs = split .File.Dir "/" }}
24+
{{ $ancestorDirs = split .Dir "/" }}
2525
{{ end }}
2626
{{ $currPage := .Page }}
2727
{{ range $i, $page := $ancestorDirs }}

layouts/glossary/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1>
2626
section-wide banner is enabled by a parent page's front matter -->
2727
{{ $ancestorDirs := slice }}
2828
{{ with .File }}
29-
{{ $ancestorDirs = split .File.Dir "/" }}
29+
{{ $ancestorDirs = split .Dir "/" }}
3030
{{ end }}
3131
{{ $currPage := .Page }}
3232
{{ range $i, $page := $ancestorDirs }}

layouts/glossary/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h1>
2424
section-wide banner is enabled by a parent page's front matter -->
2525
{{ $ancestorDirs := slice }}
2626
{{ with .File }}
27-
{{ $ancestorDirs = split .File.Dir "/" }}
27+
{{ $ancestorDirs = split .Dir "/" }}
2828
{{ end }}
2929
{{ $currPage := .Page }}
3030
{{ range $i, $page := $ancestorDirs }}

0 commit comments

Comments
 (0)