Skip to content

docs: host README images on the CDN and document StepPage publishing - #129

Merged
Uking-xxx merged 1 commit into
mainfrom
docs/readme-steppage-demo
Sep 22, 2026
Merged

Uking-xxx merged 1 commit into
mainfrom
docs/readme-steppage-demo

Conversation

@Uking-xxx

@Uking-xxx Uking-xxx commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

What changed

1. README images move to the CDN. Both images were tracked in-repo under images-and-attachments/. They are now served from static-openapi.stepfun.com and the local copies are deleted, so a clone no longer pulls a 128 KB screenshot and the demo can be swapped without a commit.

2. The second image is now a StepPage demo GIF, with a new paragraph above it describing the feature — a local page is published as a reachable static site with one command, keeping development, debugging and delivery in the same terminal. English and Simplified Chinese carry the same copy.

3. Markdown tables were reformatted with padded columns (three tables per README). Rendering is unchanged; this is whitespace only.

Verification

Both URLs return 200 with the right content type, and test.jpg matches the deleted local file byte-for-byte:

URL Status Type Bytes
resource/test.jpg 200 image/jpeg 2813 (same as the deleted file)
resource/demo1-small.gif 200 image/gif 7509878

npm run check passes (run by the pre-commit hook).

The two README images were tracked in-repo under images-and-attachments/.
Serve them from static-openapi.stepfun.com instead and drop the local
copies, so cloning the repo no longer pulls a 128 KB screenshot and the
demo can be updated without a commit.

Replace the second image with a GIF showing StepPage publishing, and add
a paragraph above it describing the feature: a local page is published
as a reachable static site with one command, keeping development,
debugging and delivery in the same terminal. Both the English and
Simplified Chinese README carry the same copy.
@Uking-xxx
Uking-xxx merged commit e411b1a into main Sep 22, 2026
2 checks passed
@Uking-xxx
Uking-xxx deleted the docs/readme-steppage-demo branch September 22, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant