Repository navigation
Serve documentation screenshots locally instead of hot-linking GitHub - #395
Merged
Merged
Conversation
Every image on the docs site was loaded from a GitHub host at page render time: raw.githubusercontent.com, user-images.githubusercontent.com, github.com and cloud.githubusercontent.com. That made the site's imagery a live dependency on a third party, and cloud.githubusercontent.com is a host GitHub retired years ago. This commit downloads all 89 of those images into content/assets/images/ and repoints the references at them. Each file was verified by its magic bytes rather than by HTTP status, and its extension taken from the bytes, which is how the one github.com/.../blob/ URL serving an HTML page instead of an image was caught. Two images that were not on GitHub are included for the same reason: getting-started/editions.md used GitHub's newer extensionless attachment URL format, and release-notes/3_14_0.md hot-linked docs.tabulareditor.com for an image already present in this repository. Only articles whose sole change is the image reference are in this commit. Not fixed: the gif referenced by beta-18_1.md and beta-18_2.md returns 404 because the TabularEditor3/PublicPreview repository no longer exists, so it has been broken on the live site for some time. It is left pointing at GitHub rather than removed, since dropping it would delete content from a historical release note. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-395.westeurope.azurestaticapps.net |
otykier
approved these changes
Sep 15, 2026
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-395.westeurope.azurestaticapps.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every image on the documentation site was loaded from a GitHub host at page render time, across four of them:
raw.githubusercontent.com,user-images.githubusercontent.com,github.comandcloud.githubusercontent.com. That made the site's imagery a live dependency on a third party, andcloud.githubusercontent.comis a host GitHub retired years ago.This PR does one thing: it brings those images into the repository and repoints the references at them.
What is in here
content/assets/images/, 7.1 MB total.Naming follows the convention established in "Updated screenshots (#382)":
<page-slug>-NN.<ext>.How the files were verified
Each download was checked by its magic bytes rather than by HTTP status, and its file extension taken from those bytes rather than from the URL. That is how a
github.com/.../blob/...URL was caught serving an HTML page instead of an image, which had been rendering as a broken image on the live site.