Skip to content

Commit e783098

Browse files
Update repo for compatibility with recent hugo versions (#1121)
* Update repo for compatibility with recent hugo versions --------- Co-authored-by: David W. Dougherty <dwdougherty@gmail.com>
1 parent 22edf85 commit e783098

File tree

17 files changed

+35
-29
lines changed

17 files changed

+35
-29
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You will need the following tools to build the site locally:
3535

3636
- `python3`: Python >= 3.8.
3737
- `node` and `npm`: Node.js >= 19.7.0, and the Node.js package manager >= 9.5.0.
38-
- `hugo`: Hugo site generator, v0.111.2; the extended edition.
38+
- `hugo`: Hugo site generator, v0.143.0; the extended edition.
3939
- `make`: To run the makefile.
4040
- `git`: To manage the source code of this repo.
4141

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/integrate/redis-data-integration/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ RDI provides enterprise-grade streaming data pipelines with the following featur
6969
- **Backpressure mechanism** - RDI is designed to backoff writing data when the cache gets
7070
disconnected, which prevents cascading failure. Since the change data is persisted in the source
7171
database and Redis is very fast, RDI can easily catch up with missed changes after a short period of
72-
disconnection. See [Backpressure mechanism]({{< relref "/integrate/redis-data-integration/architecture #backpressure-mechanism">}}) for more information.
72+
disconnection. See [Backpressure mechanism]({{< relref "/integrate/redis-data-integration/architecture#backpressure-mechanism">}}) for more information.
7373
- **Recovering from full failure** - If the cache fails or gets disconnected for a long time,
7474
RDI can reconstruct the cache data in Redis using a full snapshot of the defined dataset.
7575
- **High throughput** - Because RDI uses Redis for staging and writes to Redis as a target,

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)