- Download assets from the official release, npm package, or a trusted package CDN.
- Store files under
/cdn/{slug}/{version}/. - Add a complete entry to
_data/cdns.yml. - Add the version to
_data/versions.yml. - Run
ruby scripts/validate-local-cdn.rb. - Run
jekyll build.
- Use lowercase stable slugs.
- Use an existing category slug from
_data/categories.yml. - Use status
active,deprecated, orexperimental. - Use type
css,js,font,utility,ui, oranalytics. - Include license information for every entry.
- Include a fallback note for every entry.
- Keep snippets local to
https://cdn.itisuniqueofficial.com/.
Never overwrite an existing version folder. If a library is updated, create a new version folder and keep the previous version intact for backward compatibility.
- Keep design plain and no-shadow.
- Use semantic HTML and accessible labels.
- Avoid adding unnecessary JavaScript.
- Do not auto-load listed CDN libraries on the site.