Skip to content

Commit 952f688

Browse files
authored
Merge pull request #24388 from dvdksn/hugo-build-improvements
misc dependency upgrades & build improvements
2 parents 1fbffdd + 9363536 commit 952f688

13 files changed

Lines changed: 358 additions & 421 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ARG ALPINE_VERSION=3.23
55
ARG GO_VERSION=1.26
66
ARG HTMLTEST_VERSION=0.17.0
77
ARG VALE_VERSION=3.11.2
8-
ARG HUGO_VERSION=0.156.0
9-
ARG NODE_VERSION=22
8+
ARG HUGO_VERSION=0.158.0
9+
ARG NODE_VERSION=24
1010
ARG PAGEFIND_VERSION=1.5.0-beta.1
1111

1212
# base defines the generic base stage

content/manuals/accounts/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ grid:
2222
- title: Set up two-factor authentication
2323
description: Add an extra layer of authentication to your Docker account.
2424
link: /security/2fa/
25-
icon: phonelink_lock
25+
icon: mobile_lock_portrait
2626
- title: Deactivate an account
2727
description: Learn how to deactivate a Docker user account.
2828
link: /accounts/deactivate-user-account/

content/manuals/security/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ grid_developers:
1111
- title: Set up two-factor authentication
1212
description: Add an extra layer of authentication to your Docker account.
1313
link: /security/2fa/
14-
icon: phonelink_lock
14+
icon: mobile_lock_portrait
1515
- title: Manage access tokens
1616
description: Create personal access tokens as an alternative to your password.
1717
icon: password

docs_engineer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# yaml-language-server: $schema=https://raw.githubusercontent.com/docker/docker-agent/refs/heads/main/cagent-schema.json
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/docker/docker-agent/refs/heads/main/agent-schema.json
22
agents:
33
root:
44
model: opus

layouts/_partials/content-default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="flex items-start justify-between">
33
<h1 data-pagefind-weight="10">{{ .Title | safeHTML }}</h1>
44
<div class="md-dropdown ml-auto hidden lg:block">
5-
{{ partial "md-dropdown.html" . }}
5+
{{ partialCached "md-dropdown.html" "-" "-" }}
66
</div>
77
</div>
88
<div class="block lg:hidden">

layouts/_partials/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{- range .AlternativeOutputFormats -}}
55
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" />
66
{{ end -}}
7-
{{ partial "utils/css.html" "-" }}
7+
{{ partialCached "utils/css.html" "-" "-" }}
88
<link href="/pagefind/pagefind-component-ui.css" rel="stylesheet">
99
{{- if hugo.IsProduction -}}
1010
<script

layouts/_partials/md-dropdown.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
class="bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 flex cursor-pointer items-center gap-2 px-3 py-2 text-sm transition-colors whitespace-nowrap text-gray-900 dark:text-white"
88
>
99
<span class="icon-svg icon-sm">
10-
{{ partial "icon" "content_copy" }}
10+
{{ partialCached "icon" "content_copy" "content_copy" }}
1111
</span>
1212
<span class="icon-svg icon-sm hidden">
13-
{{ partial "icon" "check_circle" }}
13+
{{ partialCached "icon" "check_circle" "check_circle" }}
1414
</span>
1515
<span>Copy as Markdown</span>
1616
</button>

layouts/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393

9494
{{/* Load the YouTube player if the page embeds a YouTube video */}}
9595
{{ with .Store.Get "youtube" }}
96-
{{ partial "youtube-script.html" . }}
96+
{{ partialCached "youtube-script.html" "-" "-" }}
9797
{{ end }}
9898
</body>
9999
</html>

layouts/cli.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="flex items-start justify-between gap-4">
99
<h1>{{ .Title }}</h1>
1010
<div class="md-dropdown ml-auto mr-4 hidden lg:block">
11-
{{ partial "md-dropdown.html" . }}
11+
{{ partialCached "md-dropdown.html" "-" "-" }}
1212
</div>
1313
</div>
1414
<div class="overflow-x-auto">

netlify.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
publish = "public"
33

44
[context.deploy-preview.environment]
5-
NODE_VERSION = "22"
5+
NODE_VERSION = "24"
66
NODE_ENV = "production"
7-
HUGO_VERSION = "0.156.0"
7+
HUGO_VERSION = "0.158.0"
88
HUGO_ENABLEGITINFO = "true"
99
HUGO_ENVIRONMENT = "preview"
1010
SECRETS_SCAN_OMIT_PATHS = "public/contribute/file-conventions/index.html"

0 commit comments

Comments
 (0)