Skip to content

Commit dd294db

Browse files
committed
hugo: add main nav icons and fix mobile rendering
Signed-off-by: David Karlsson <[email protected]>
1 parent d970c47 commit dd294db

File tree

8 files changed

+182
-155
lines changed

8 files changed

+182
-155
lines changed

content/get-started/_index.md

+24-22
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,32 @@
22
title: Get started
33
keywords: Docker, get started
44
description: Get started with Docker
5-
notoc: true
65
layout: wide
7-
get-started:
8-
- title: Get Docker
9-
description: Choose the best installation path for your setup.
10-
link: /get-started/get-docker/
6+
params:
117
icon: download
12-
- title: What is Docker?
13-
description: Learn about the Docker platform.
14-
link: /get-started/docker-overview/
15-
icon: summarize
16-
get-started2:
17-
- title: Introduction
18-
description: Get started with the basics and the benefits of containerizing your applications.
19-
link: /get-started/introduction/
20-
icon: rocket
21-
- title: Docker concepts
22-
description: Gain a better understanding of foundational Docker concepts.
23-
link: /get-started/docker-concepts/the-basics/what-is-a-container/
24-
icon: foundation
25-
- title: Docker workshop
26-
description: Get guided through a 45-minute workshop to learn about Docker.
27-
link: /get-started/workshop/
28-
icon: desk
8+
notoc: true
9+
get-started:
10+
- title: Get Docker
11+
description: Choose the best installation path for your setup.
12+
link: /get-started/get-docker/
13+
icon: download
14+
- title: What is Docker?
15+
description: Learn about the Docker platform.
16+
link: /get-started/docker-overview/
17+
icon: summarize
18+
get-started2:
19+
- title: Introduction
20+
description: Get started with the basics and the benefits of containerizing your applications.
21+
link: /get-started/introduction/
22+
icon: rocket
23+
- title: Docker concepts
24+
description: Gain a better understanding of foundational Docker concepts.
25+
link: /get-started/docker-concepts/the-basics/what-is-a-container/
26+
icon: foundation
27+
- title: Docker workshop
28+
description: Get guided through a 45-minute workshop to learn about Docker.
29+
link: /get-started/workshop/
30+
icon: desk
2931
---
3032

3133
If you're new to Docker, this section guides you through the essential resources to get started.

content/guides/_index.md

+25-24
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,32 @@
22
title: Guides
33
keywords: Docker guides
44
description: Explore the Docker guides
5-
notoc: true
5+
params:
6+
icon: developer_guide
7+
notoc: true
8+
dive-deeper:
9+
- title: Language-specific guides
10+
description: Learn how to containerize, develop, and test language-specific apps using Docker.
11+
link: /language/
12+
icon: code
13+
- title: Use-case guides
14+
description: Walk through practical Docker applications for specific scenarios.
15+
link: /guides/use-case/
16+
icon: task
17+
- title: Deployment and Orchestration
18+
description: Deploy and manage Docker containers at scale.
19+
link: /guides/deployment-orchestration/orchestration/
20+
icon: workspaces
21+
resources:
22+
- title: Educational resources
23+
description: Explore diverse Docker training and hands-on experiences.
24+
link: /guides/resources/
25+
icon: book
26+
- title: Contribute to Docker's docs
27+
description: Learn how to help contribute to Docker docs.
28+
link: /contribute/
29+
icon: edit
630
layout: wide
7-
dive-deeper:
8-
- title: Language-specific guides
9-
description: Learn how to containerize, develop, and test language-specific apps using Docker.
10-
link: /language/
11-
icon: code
12-
- title: Use-case guides
13-
description: Walk through practical Docker applications for specific scenarios.
14-
link: /guides/use-case/
15-
icon: task
16-
- title: Deployment and Orchestration
17-
description: Deploy and manage Docker containers at scale.
18-
link: /guides/deployment-orchestration/orchestration/
19-
icon: workspaces
20-
21-
resources:
22-
- title: Educational resources
23-
description: Explore diverse Docker training and hands-on experiences.
24-
link: /guides/resources/
25-
icon: book
26-
- title: Contribute to Docker's docs
27-
description: Learn how to help contribute to Docker docs.
28-
link: /contribute/
29-
icon: edit
3031
---
3132

3233
This section contains more advanced guides to help you learn how Docker can optimize your development workflows.

content/learning-paths/_index.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Learning paths
33
description: |
44
Docker Learning Paths offer structured guides to help you master Docker.
55
keywords: docker, learning, paths, tutorials, resources
6+
params:
7+
icon: "school"
68
---
79

810
<p class="w-2/3">

content/manuals/_index.md

+58-56
Original file line numberDiff line numberDiff line change
@@ -5,62 +5,64 @@ keywords: docker, docs, manuals, products, user guides, how-to
55
# hard-code the URL of this page
66
url: /manuals/
77
layout: wide
8-
notoc: true
9-
development:
10-
- title: Docker Desktop
11-
description: Your command center for container development.
12-
icon: /assets/icons/Whale.svg
13-
link: /desktop/
14-
- title: Docker Compose
15-
description: Define and run multi-container applications.
16-
icon: /assets/icons/Compose.svg
17-
link: /compose/
18-
- title: Docker Build
19-
description: Build and ship any application anywhere.
20-
icon: build
21-
link: /build/
22-
- title: Docker Engine
23-
description: The industry-leading container runtime.
24-
icon: developer_board
25-
link: /engine/
26-
- title: Docker Extensions
27-
description: Customize your Docker Desktop workflow.
28-
icon: extension
29-
link: /extensions/
30-
services:
31-
- title: Docker Hub
32-
description: Discover, share, and integrate container images
33-
icon: hub
34-
link: /docker-hub/
35-
- title: Docker Scout
36-
description: Image analysis and policy evaluation.
37-
icon: /assets/icons/Scout.svg
38-
link: /scout/
39-
- title: Trusted content
40-
description: Curated, high-quality content from trusted sources.
41-
icon: verified
42-
link: /trusted-content/
43-
- title: Build Cloud
44-
description: Build your images faster in the cloud.
45-
icon: /assets/images/logo-build-cloud.svg
46-
link: /build-cloud/
47-
admin:
48-
- title: Administration
49-
description: Centralized observability for companies and organizations.
50-
icon: admin_panel_settings
51-
link: /admin/
52-
- title: Security
53-
description: Security guardrails for both administrators and developers.
54-
icon: lock
55-
link: /security/
56-
- title: Billing
57-
description: Manage billing and payment methods.
58-
icon: payments
59-
link: /billing/
60-
- title: Subscription
61-
description: Commercial use licenses for Docker products.
62-
icon: card_membership
63-
link: /subscription/
8+
params:
9+
icon: description
10+
notoc: true
11+
development:
12+
- title: Docker Desktop
13+
description: Your command center for container development.
14+
icon: /assets/icons/Whale.svg
15+
link: /desktop/
16+
- title: Docker Compose
17+
description: Define and run multi-container applications.
18+
icon: /assets/icons/Compose.svg
19+
link: /compose/
20+
- title: Docker Build
21+
description: Build and ship any application anywhere.
22+
icon: build
23+
link: /build/
24+
- title: Docker Engine
25+
description: The industry-leading container runtime.
26+
icon: developer_board
27+
link: /engine/
28+
- title: Docker Extensions
29+
description: Customize your Docker Desktop workflow.
30+
icon: extension
31+
link: /extensions/
32+
services:
33+
- title: Docker Hub
34+
description: Discover, share, and integrate container images
35+
icon: hub
36+
link: /docker-hub/
37+
- title: Docker Scout
38+
description: Image analysis and policy evaluation.
39+
icon: /assets/icons/Scout.svg
40+
link: /scout/
41+
- title: Trusted content
42+
description: Curated, high-quality content from trusted sources.
43+
icon: verified
44+
link: /trusted-content/
45+
- title: Build Cloud
46+
description: Build your images faster in the cloud.
47+
icon: /assets/images/logo-build-cloud.svg
48+
link: /build-cloud/
49+
admin:
50+
- title: Administration
51+
description: Centralized observability for companies and organizations.
52+
icon: admin_panel_settings
53+
link: /admin/
54+
- title: Security
55+
description: Security guardrails for both administrators and developers.
56+
icon: lock
57+
link: /security/
58+
- title: Billing
59+
description: Manage billing and payment methods.
60+
icon: payments
61+
link: /billing/
62+
- title: Subscription
63+
description: Commercial use licenses for Docker products.
64+
icon: card_membership
65+
link: /subscription/
6466
---
6567

6668
This section contains user guides on how to install, set up, configure, and use

content/reference/_index.md

+39-36
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,47 @@
11
---
22
title: Reference documentation
3+
linkTitle: Reference
34
layout: wide
45
description: Find reference documentation for the Docker platform’s various APIs, CLIs, and file formats
5-
notoc: true
6-
grid_files:
7-
- title: Dockerfile
8-
description: Defines the contents and startup behavior of a single container.
9-
icon: edit_document
10-
link: /reference/dockerfile/
11-
- title: Compose file
12-
description: Defines a multi-container application.
13-
icon: polyline
14-
link: /reference/compose-file/
15-
grid_clis:
16-
- title: Docker CLI
17-
description: The main Docker CLI, includes all `docker` commands.
6+
params:
187
icon: terminal
19-
link: /reference/cli/docker/
20-
- title: Compose CLI
21-
description: The CLI for Docker Compose, for building and running multi-container
22-
applications.
23-
icon: subtitles
24-
link: /reference/cli/docker/compose/
25-
- title: Daemon CLI (dockerd)
26-
description: Persistent process that manages containers.
27-
icon: developer_board
28-
link: /reference/cli/dockerd/
29-
grid_apis:
30-
- title: Engine API
31-
description: The main API for Docker, provides programmatic access to a daemon.
32-
icon: api
33-
link: /reference/api/engine/
34-
- title: Docker Hub API
35-
description: API to interact with Docker Hub.
36-
icon: communities
37-
link: /reference/api/hub/latest/
38-
- title: DVP Data API
39-
description: API for Docker Verified Publishers to fetch analytics data.
40-
icon: area_chart
41-
link: /reference/api/hub/dvp/
8+
notoc: true
9+
grid_files:
10+
- title: Dockerfile
11+
description: Defines the contents and startup behavior of a single container.
12+
icon: edit_document
13+
link: /reference/dockerfile/
14+
- title: Compose file
15+
description: Defines a multi-container application.
16+
icon: polyline
17+
link: /reference/compose-file/
18+
grid_clis:
19+
- title: Docker CLI
20+
description: The main Docker CLI, includes all `docker` commands.
21+
icon: terminal
22+
link: /reference/cli/docker/
23+
- title: Compose CLI
24+
description: The CLI for Docker Compose, for building and running multi-container
25+
applications.
26+
icon: subtitles
27+
link: /reference/cli/docker/compose/
28+
- title: Daemon CLI (dockerd)
29+
description: Persistent process that manages containers.
30+
icon: developer_board
31+
link: /reference/cli/dockerd/
32+
grid_apis:
33+
- title: Engine API
34+
description: The main API for Docker, provides programmatic access to a daemon.
35+
icon: api
36+
link: /reference/api/engine/
37+
- title: Docker Hub API
38+
description: API to interact with Docker Hub.
39+
icon: communities
40+
link: /reference/api/hub/latest/
41+
- title: DVP Data API
42+
description: API for Docker Verified Publishers to fetch analytics data.
43+
icon: area_chart
44+
link: /reference/api/hub/dvp/
4245
---
4346

4447
This section includes the reference documentation for the Docker platform's

hugo_stats.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@
234234
"dark:hover:bg-blue-dark-500",
235235
"dark:hover:bg-gray-dark-200",
236236
"dark:hover:bg-gray-dark-500",
237+
"dark:hover:text-blue-dark",
237238
"dark:hover:text-white",
238239
"dark:prose-invert",
239240
"dark:ring-gray-dark-400",
@@ -379,7 +380,9 @@
379380
"md:max-w-[66%]",
380381
"md:px-20",
381382
"md:scale-100",
383+
"md:sticky",
382384
"md:text-sm",
385+
"md:top-16",
383386
"md:w-[300px]",
384387
"md:z-auto",
385388
"min-h-screen",
@@ -426,6 +429,7 @@
426429
"pl-5",
427430
"place-items-center",
428431
"placeholder:text-white",
432+
"pr-2",
429433
"prose",
430434
"pt-0",
431435
"px-1",
@@ -445,7 +449,6 @@
445449
"right-8",
446450
"ring-[1.5px]",
447451
"ring-gray-light-200",
448-
"rotate-180",
449452
"rotate-45",
450453
"rounded",
451454
"rounded-[6px]",
@@ -470,7 +473,6 @@
470473
"sm:items-center",
471474
"sm:w-full",
472475
"space-x-2",
473-
"space-y-2",
474476
"space-y-4",
475477
"sticky",
476478
"svg-container",
@@ -513,9 +515,7 @@
513515
"top-3",
514516
"top-6",
515517
"top-full",
516-
"transform",
517518
"transition",
518-
"transition-transform",
519519
"truncate",
520520
"underline",
521521
"underline-offset-2",

0 commit comments

Comments
 (0)