From 637a19aa1c04e6e801fe9aff72fd4a2d60cb7cf9 Mon Sep 17 00:00:00 2001
From: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Date: Fri, 29 Dec 2023 13:01:33 +0100
Subject: [PATCH] site: add manuals landing page
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
---
content/_index.md | 4 +-
content/engine/_index.md | 1 -
content/manuals.md | 79 +++++++++++++++++++++++++++
data/toc.yaml | 2 +
hugo.yaml | 2 +-
layouts/partials/components/card.html | 4 +-
static/assets/icons/Compose.svg | 1 +
static/assets/icons/Scout.svg | 1 +
static/assets/icons/Whale.svg | 1 +
9 files changed, 89 insertions(+), 6 deletions(-)
create mode 100644 content/manuals.md
create mode 100644 static/assets/icons/Compose.svg
create mode 100644 static/assets/icons/Scout.svg
create mode 100644 static/assets/icons/Whale.svg
diff --git a/content/_index.md b/content/_index.md
index 7ada8c033c..e0619a53cd 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -32,7 +32,7 @@ grid:
image:
dark: /assets/images/manuals-dark.svg
light: /assets/images/manuals.svg
- link: /desktop/
+ link: /manuals/
description: Browse the manuals and learn how to use Docker products.
- title: Reference
image:
@@ -40,4 +40,4 @@ grid:
light: /assets/images/reference.svg
link: /reference/
description: Browse the CLI and API reference documentation.
----
\ No newline at end of file
+---
diff --git a/content/engine/_index.md b/content/engine/_index.md
index 9b8c4d54a4..5ae43b5737 100644
--- a/content/engine/_index.md
+++ b/content/engine/_index.md
@@ -44,7 +44,6 @@ aliases:
- /engine/ce-ee-node-activate/
- /engine/misc/
- /linux/
-- /manuals/
---
Docker Engine is an open source containerization technology for building and
diff --git a/content/manuals.md b/content/manuals.md
new file mode 100644
index 0000000000..79fc985771
--- /dev/null
+++ b/content/manuals.md
@@ -0,0 +1,79 @@
+---
+title: Manuals
+description: Explore the Docker product user manuals
+keywords: docker, docs, manuals, products, user guides, how-to
+notoc: true
+skip_read_time: true
+development:
+- title: Docker Desktop
+ description: Your command center for container development.
+ icon: /assets/icons/Whale.svg
+ link: /desktop/
+- title: Docker Compose
+ description: Define and run multi-container applications.
+ icon: /assets/icons/Compose.svg
+ link: /compose/
+- title: Docker Build
+ description: Build and ship any application anywhere.
+ icon: build
+ link: /build/
+- title: Docker Engine
+ description: The industry-leading container runtime.
+ icon: developer_board
+ link: /engine/
+- title: Docker Extensions
+ description: Customize your Docker Desktop workflow.
+ icon: extension
+ link: /desktop/extensions/
+services:
+- title: Docker Hub
+ description: Discover, share, and integrate container images
+ icon: hub
+ link: /docker-hub/
+- title: Docker Scout
+ description: Image analysis and policy evaluation.
+ icon: /assets/icons/Scout.svg
+ link: /scout/
+- title: Trusted content
+ description: Curated, high-quality content from trusted sources.
+ icon: verified
+ link: /trusted-content/
+admin:
+- title: Administration
+ description: Centralized observability for companies and organizations.
+ icon: admin_panel_settings
+ link: /admin/
+- title: Security
+ description: Security guardrails for both administrators and developers.
+ icon: lock
+ link: /security/
+- title: Billing
+ description: Manage billing and payment methods.
+ icon: payments
+ link: /billing/
+- title: Subscription
+ description: Commercial use licenses for Docker products.
+ icon: card_membership
+ link: /subscription/
+---
+
+This section contains user guides on how to install, set up, configure, and use
+Docker products.
+
+## Developer tools
+
+Software development and containerization technologies.
+
+{{< grid items=development >}}
+
+## Services
+
+Artifact management and supply chain security.
+
+{{< grid items=services >}}
+
+## Administration and accounts
+
+Administration and subscription management for organizations.
+
+{{< grid items=admin >}}
diff --git a/data/toc.yaml b/data/toc.yaml
index 9fe252244a..b4e9f3ebac 100644
--- a/data/toc.yaml
+++ b/data/toc.yaml
@@ -1098,6 +1098,8 @@ Samples:
Manuals:
+- path: /manuals/
+ title: Overview
- sectiontitle: Docker Desktop
section:
- path: /desktop/
diff --git a/hugo.yaml b/hugo.yaml
index a088a6c668..9ff7b14133 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -110,7 +110,7 @@ menus:
url: /get-started/overview/
weight: 1
- name: Manuals
- url: /desktop/
+ url: /manuals/
weight: 2
- name: Reference
url: /reference/
diff --git a/layouts/partials/components/card.html b/layouts/partials/components/card.html
index b84c154d85..d01656f3cb 100644
--- a/layouts/partials/components/card.html
+++ b/layouts/partials/components/card.html
@@ -30,7 +30,7 @@
{{ with .icon }}
{{ if strings.ContainsAny . "/." }}
{{/* image file */}}
-
+
{{ else }}
{{/* icon ligature */}}
{{ . }}
@@ -51,4 +51,4 @@
{{ if .link }}
{{ end }}
-
\ No newline at end of file
+
diff --git a/static/assets/icons/Compose.svg b/static/assets/icons/Compose.svg
new file mode 100644
index 0000000000..ba7cbd76a1
--- /dev/null
+++ b/static/assets/icons/Compose.svg
@@ -0,0 +1 @@
+
diff --git a/static/assets/icons/Scout.svg b/static/assets/icons/Scout.svg
new file mode 100644
index 0000000000..2c74e2de83
--- /dev/null
+++ b/static/assets/icons/Scout.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/assets/icons/Whale.svg b/static/assets/icons/Whale.svg
new file mode 100644
index 0000000000..e22c499fe1
--- /dev/null
+++ b/static/assets/icons/Whale.svg
@@ -0,0 +1 @@
+
\ No newline at end of file