Skip to content

Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.

fix(docs): reserve the banner's space on the site build

virgiliojr94442aaaa2d21d
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index 9873ee9..d1a842c 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -53,7 +53,12 @@ jobs:
printf -- 'description: "Convert a book, PDF, EPUB or DOCX into an agent skill for Claude Code, GitHub Copilot CLI and Amp. Install, run, and cut token cost 24x-51x."\n'
printf -- 'seo_title: "book-to-skill Guide - Convert Any Book Into an Agent Skill"\n'
printf -- '---\n\n'
- sed -E 's,(href="|src="|\]\()docs/,\1,g' README.md
+ # `width="100%"` is what GitHub wants, but it is not a valid HTML
+ # width, so browsers discard it and reserve no space for the banner —
+ # everything below it jumps once the image loads. Real dimensions let
+ # the browser hold the slot; Material's `height:auto` keeps it fluid.
+ sed -E 's,(href="|src="|\]\()docs/,\1,g' README.md \
+ | sed -E '/banner\.webp/s,width="100%",width="1600" height="686",'
} > docs/guide.md
# SKILL.md's `description` is written for host agents (~400 chars); as a
# meta description it just gets truncated mid-sentence in the SERP.