Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
<meta name="twitter:description" content="Ten companions, 90 PNG frames, 30 GIF loops, and game-ready sprite sheets.">
<meta name="twitter:image" content="https://throwingogo-hub.github.io/DigitalPets/social-preview.png">
<meta name="twitter:image:alt" content="The ten ShadowPets pixel-art companions arranged beside the ShadowPets title">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "CreativeWork",
"name": "ShadowPets",
"url": "https://throwingogo-hub.github.io/DigitalPets/",
"description": "Ten reusable pixel-art companions with 90 PNG frames, 30 GIF loops, and game-ready sprite sheets.",
"license": "https://creativecommons.org/licenses/by/4.0/",
"isAccessibleForFree": true,
"creator": {"@type": "Person", "name": "Throwingogo", "url": "https://github.com/throwingogo-hub"}
}
</script>
<title>ShadowPets Motion Lab</title>
<style>
:root {
Expand Down
4 changes: 4 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://throwingogo-hub.github.io/DigitalPets/sitemap.xml
7 changes: 7 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://throwingogo-hub.github.io/DigitalPets/</loc>
<lastmod>2026-07-26</lastmod>
</url>
</urlset>
8 changes: 7 additions & 1 deletion tools/validate_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,12 @@ def validate_docs_and_site() -> None:
fail(f"index.html: missing or incorrect social metadata: {wrong}")
if audit.canonical != LIVE_URL:
fail(f"index.html: canonical URL must be {LIVE_URL}")
if '"@type": "CreativeWork"' not in html or '"isAccessibleForFree": true' not in html:
fail("index.html: missing ShadowPets structured discovery metadata")
robots = (ROOT / "robots.txt").read_text()
sitemap = (ROOT / "sitemap.xml").read_text()
if f"Sitemap: {LIVE_URL}sitemap.xml" not in robots or f"<loc>{LIVE_URL}</loc>" not in sitemap:
fail("robots.txt and sitemap.xml must expose the canonical Motion Lab URL")
for pet in PETS:
if f'{{ name: "{pet}"' not in html:
fail(f"index.html: gallery roster is missing {pet}")
Expand Down Expand Up @@ -392,7 +398,7 @@ def parse_args() -> argparse.Namespace:
validate_rebuild()
if args.check_package:
validate_package()
print("Validated 10 pets, 90 PNG frames, 30 GIFs, 10 sheets, links, licensing, and social metadata")
print("Validated 10 pets, 90 PNG frames, 30 GIFs, 10 sheets, links, licensing, and discovery metadata")
if args.check_rebuild:
print("Rebuild check: pixel- and timing-reproducible; tracked artwork unchanged")
if args.check_package:
Expand Down