gbdev / gbdev/pandocs

Build reproducibility: pull fonts from npm

Open
#522 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.