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
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} ZenStack, Inc.`,
},

image: '/img/social-cover.png',
image: '/img/social-cover-xmas.png',
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify the Christmas-themed social cover image exists
fd 'social-cover' . --type f

Repository: zenstackhq/zenstack-docs

Length of output: 50


🏁 Script executed:

#!/bin/bash
# Find the img directory and list its contents
find . -type d -name 'img' 2>/dev/null

# Also check for static directories
find . -type d -name 'static' 2>/dev/null | head -5

# List files in potential img locations
find . -path '*static/img*' -type f 2>/dev/null | head -20

Repository: zenstackhq/zenstack-docs

Length of output: 76


🏁 Script executed:

#!/bin/bash
# List static directory contents
ls -la ./static/

# Check if img directory exists in static
[ -d ./static/img ] && echo "=== Contents of static/img ===" && ls -la ./static/img/

# Show relevant part of docusaurus.config.js around line 224
echo "=== docusaurus.config.js around line 224 ==="
sed -n '220,230p' ./docusaurus.config.js

Repository: zenstackhq/zenstack-docs

Length of output: 689


🏁 Script executed:

#!/bin/bash
# Check the git diff for this specific file to see what changed
git diff HEAD~1 docusaurus.config.js | grep -A5 -B5 'social-cover'

# Also check what the old value was
git show HEAD~1:docusaurus.config.js 2>/dev/null | sed -n '220,230p'

Repository: zenstackhq/zenstack-docs

Length of output: 254


🏁 Script executed:

#!/bin/bash
# Search for image references in the config
grep -n 'image:' ./docusaurus.config.js

# Search for any PNG files in the entire repository
find . -name '*.png' -type f 2>/dev/null

# Check if there are other common asset directories
find . -type d \( -name 'assets' -o -name 'images' -o -name 'public' \) 2>/dev/null

Repository: zenstackhq/zenstack-docs

Length of output: 120


The referenced image asset /img/social-cover-xmas.png does not exist in the repository.

This will cause broken social media previews. The /img directory and all PNG files are missing from the static directory. Either add the missing image asset or revert the configuration change to a valid image reference.

🤖 Prompt for AI Agents
In docusaurus.config.js around line 224 the site references image:
'/img/social-cover-xmas.png' which does not exist in the repository; either add
the missing file at static/img/social-cover-xmas.png (commit the PNG to the
repo) or update the config to point to an existing static image path (e.g., an
existing file under static/img or a remote URL); after updating, run a local
build or preview to confirm the social preview image resolves and include the
added/updated asset in the same PR.


prism: {
theme: prismThemes.github,
Expand Down
Binary file added static/img/social-cover-xmas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.