| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@sy-records is attempting to deploy a commit to the Docsify Team on Vercel. A member of the Team first needs to authorize it. |
Sorry, something went wrong.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Sorry, something went wrong.
There was a problem hiding this comment.
I suppose we don't need check this since how user import docsify resources is purely by themselves.
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Warn users when Docsify is loaded from a URL that does not include a pinned version.
Unversioned CDN URLs may begin serving a future major release automatically, which can break existing documentation sites. Minor or patch releases may also introduce unexpected regressions.
When an unpinned Docsify URL is detected, Docsify now emits a single, prominent console.error containing the detected URL and guidance to pin a version.
Supported URL formats
The version check recognizes:
Known URL formats are supported for:
Self-hosted Docsify scripts are checked as well.
IIFE and ESM support
Example warning
The warning does not prevent Docsify from starting and is emitted at most once.
Testing
Validation completed:
Related issue, if any:
What kind of change does this PR introduce?
For any code change,
Does this PR introduce a breaking change?
Tested in the following browsers: