Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions customize/fonts.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Fonts"
description: "Customize typography on your documentation site with Google Fonts or self-hosted font files for headings, body text, and code blocks."

Check warning on line 3 in customize/fonts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

customize/fonts.mdx#L3

'Google Fonts' should use sentence-style capitalization.
keywords: ["Google Fonts", "local fonts", "custom typography"]
boost: 3
---
Expand All @@ -23,6 +23,10 @@

To use local fonts, place your font files in your project directory and reference them in your `docs.json` configuration.

<Warning>
Local fonts are not supported when any form of authentication is enabled on your documentation. If your site uses authentication, host your font files on a CDN or other public URL and reference them as [externally hosted fonts](#externally-hosted-fonts) instead.

Check warning on line 27 in customize/fonts.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

customize/fonts.mdx#L27

In general, use active voice instead of passive voice ('is enabled').
</Warning>

### Setting up local fonts

<Steps>
Expand Down
Loading