Skip to content

docs: use consistent cards for overviews and reference navigation - #26780

Open
dvdksn wants to merge 8 commits into
docker:mainfrom
dvdksn:section-cards
Open

dvdksn wants to merge 8 commits into
docker:mainfrom
dvdksn:section-cards

Conversation

@dvdksn

@dvdksn dvdksn commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Product overviews used inconsistent navigation, and several CLI references were difficult to find. Use the shared card grid across product overviews, add direct CLI reference cards, and group /reference/ into CLI references, APIs, and file formats and build checks.

Preserve card links and descriptions in Markdown output, and use the same grouped reference inventory in HTML, Markdown, and llms.txt.

Key pages to review in the deploy preview:

Validated with a Hugo build, scoped lint, card destination checks, and browser checks at desktop, tablet, and mobile widths.

Generated by Codex

@netlify

netlify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6d45376
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6b095298298b1b770fbb9a34
😎 Deploy Preview https://deploy-preview-26780--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added area/engine Issue affects Docker engine/daemon area/compose Relates to docker-compose.yml spec or docker-compose binary area/build Relates to Dockerfiles or docker build command area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/security area/extensions Relates to Docker Extensions area/scout Relates to Docker Scout hugo Updates related to hugo area/build-cloud area/ai area/dhi area/offload area/hub Issue affects Docker Hub area/subscription Relates to Docker pricing and subscription area/billing area/accounts Relates to Docker accounts labels Nov 26, 2026
@dvdksn
dvdksn marked this pull request as ready for review November 26, 2026 10:44
@dvdksn
dvdksn requested a review from a team November 26, 2026 10:45

@usha-mandya usha-mandya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Several product overviews used plain navigation lists or had no card grid, including Sandboxes and the Sandboxes API and SDK.

Use the shared grid component on the remaining product landing pages and preserve card links and descriptions in Markdown output.
Product overview grids lacked direct links to their CLI references, making command documentation difficult to find.

Add CLI reference cards to eleven product overviews and a separate dockerd reference card to Docker Engine. Include the required keywords field on the Hardened Images overview.
The reference landing page displayed CLI, API, and file format references in one flat list.

Render the shared card component in three groups, resolve descriptions for generated references, and share the grouped inventory with Markdown and llms.txt. Update discovery checks for the card layout and grouped references.
Some cards contain multiple links in their descriptions instead of a single card destination. Render those titles as plain text to avoid empty Markdown links.
CLI short descriptions and synopses often repeat command names or read poorly as directory card descriptions. Use page descriptions only and omit the description block and Markdown separator when none is available. Update discovery checks to cover cards without descriptions.
Product overview grids had inconsistent headings or no section heading. Use Explore the documentation above each main navigation grid and nest card titles beneath the section heading.
Use the agreed wording Explore the docs above the main navigation grids on all 24 product overviews.
List the docker CLI once instead of separate cards for its subcommands, while retaining the independent sbx and dockerd entries. Restore short and synopsis fallbacks only for the docker and sbx base commands.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/accounts Relates to Docker accounts area/ai area/billing area/build Relates to Dockerfiles or docker build command area/build-cloud area/compose Relates to docker-compose.yml spec or docker-compose binary area/desktop Issue affects a desktop edition of Docker. E.g docker for mac area/dhi area/engine Issue affects Docker engine/daemon area/extensions Relates to Docker Extensions area/hub Issue affects Docker Hub area/offload area/scout Relates to Docker Scout area/security area/subscription Relates to Docker pricing and subscription hugo Updates related to hugo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants