The Fonts settings page lets you customize your documentation site's typography using Google Fonts or locally uploaded font files.
Select a font from the full Google Fonts library:
Only include the weights and subsets you actually use. Each addition increases page load time.
Upload your own font files for complete typographic control:
WOFF2 is recommended for the best compression and browser support.
Font settings are stored in fonts.json at the root of your repository. Here's an example using Google Fonts:
{
"googleFont": {
"fontName": "Inter",
"subsets": ["latin"],
"weight": ["400", "500", "600", "700"]
}
}See the Fonts page for the full configuration format, including local font support.