Skip to content

fix(arguments): correct the cover argument description - #360

Merged
markdumay merged 1 commit into
mainfrom
docs/cover-arg-comment
Aug 2, 2026
Merged

fix(arguments): correct the cover argument description#360
markdumay merged 1 commit into
mainfrom
docs/cover-arg-comment

Conversation

@markdumay

Copy link
Copy Markdown
Collaborator

Part of the fix for gethinode/hinode#2107.

Problem

data/structures/_arguments.yml described the shared cover argument as:

Flag indicating if the element should be rendered fullscreen.

This string is rendered verbatim into the generated argument tables for every block that accepts cover — hero, about, featured, cards, panels, cta, faq, and a dozen more. A cover section is 88vh, capped at 1024px on large viewports, so the description promised a full viewport the theme never delivers. It was the third of three places making that claim, alongside the hero docs and the block docs prose.

Change

Describe the real behavior, say why it falls short of 100vh, and name the two site settings that control it.

Typed fix rather than docs so it releases and downstream modules can pick it up.

Golden tests pass (14 groups).

Related

🤖 Generated with Claude Code

The shared `cover` argument was documented as "rendered fullscreen",
which is rendered verbatim into the generated argument tables for every
block that accepts it. A cover section is 88vh, not 100vh, so the
description promised a full viewport that the theme never delivers.

Describe the real behavior and name the two site settings that control
it.

Refs: gethinode/hinode#2107

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@markdumay
markdumay merged commit 5c37ad0 into main Aug 2, 2026
11 checks passed
@markdumay
markdumay deleted the docs/cover-arg-comment branch August 2, 2026 05:42
@markdumay

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 6.8.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant