Build reproducibility: pull fonts from npm
Open
mdbook
- Dominant language
- Markdown
- Stars
- 783
- Forks
- 134
- Avg merge
- 6h 54m
- Merged PRs (30d)
- 3
Description
We switched from CDNs to serving typefaces as static assets. When a new version of the font is released, this requires the manual step of pulling fonts builds from their upstream websites, clean up unrelated variants, remove them from their entrypoint CSS (e.g. inter.css) and commit the changed files.
This could be automated and made reproducible by switching to a package manager (e.g. npm) to pull the typefaces at build time.
E.g. inter on npm: https://www.npmjs.com/package/inter-ui
Contributor guide
Assessment
This issue has not been assessed yet.