-
Notifications
You must be signed in to change notification settings - Fork 410
docs: error in displaying charts and logo #2020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe update modifies image links in the delegation program documentation by changing them from relative local paths to absolute URLs referencing images hosted on the Celestia GitHub repository. No other content or logic within the documentation was altered. Changes
Suggested labels
Suggested reviewers
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,6 +1,6 @@ | |||
# The Celestia Foundation Delegation Program | |||
|
|||
 | |||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Use raw GitHubusercontent URL for images to ensure proper rendering
The current link points to the GitHub “blob” view, which returns an HTML page instead of the image itself. This can cause broken or slow-loading images on the docs site.
Please verify that the image displays correctly in your deployed site. Consider updating to the raw.githubusercontent.com
path:
-
+
🏁 Script executed:
#!/bin/bash
set -e
echo "🔍 Searching for the image file in the repo..."
if rg -l "foundation-delegation-program.jpg"; then
echo "✅ Found: foundation-delegation-program.jpg"
else
echo "❌ Not found in repository."
fi
echo -e "\n🔗 Checking HEAD of GitHub blob URL..."
curl -sI https://github.com/celestiaorg/docs/blob/main/public/img/foundation-delegation-program.jpg | sed -n '1,5p'
echo -e "\n🔗 Checking HEAD of raw.githubusercontent.com URL..."
curl -sI https://raw.githubusercontent.com/celestiaorg/docs/main/public/img/foundation-delegation-program.jpg | sed -n '1,5p'
Length of output: 1202
Use raw GitHubusercontent URL for images
The GitHub “blob” URL returns an HTML page (content-type: text/html
), whereas the raw.githubusercontent.com
URL serves the actual JPEG (content-type: image/jpeg
). Update the Markdown to point directly to the raw image.
• File: community/foundation-delegation-program.md
• Line: 3
-
+
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
 | |
 |
@@ -29,7 +29,7 @@ details about the application and eligibility criteria are described below. | |||
|
|||
### Cohort process | |||
|
|||
 | |||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Switch cohort timeline image to raw GitHubusercontent URL
As above, the blob URL may not serve the raw asset properly in a static site. Confirm rendering and switch to the raw URL:
-
+
🏁 Script executed:
#!/bin/bash
set -e
# Locate occurrences of the cohort timeline image reference
rg "cohort-timeline.jpg" -n
# Show the snippet around where it's referenced
cat -n community/foundation-delegation-program.md | sed -n '25,35p'
Length of output: 746
Use raw GitHubusercontent URL for cohort timeline image
GitHub “blob” URLs serve an HTML page instead of the image file, so the graphic won’t render on a static site. Update the reference as follows:
- File:
community/foundation-delegation-program.md
, line 32
-
+
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
 | |
 |
fixed the display of images in the file
community/foundation-delegation-program.md
Summary by CodeRabbit