Skip to content

docs: remove empty fonts config causing malformed Google Fonts requests - #458

Open
ketanyekale wants to merge 1 commit into
mainfrom
docs/remove-empty-fonts-config
Open

docs: remove empty fonts config causing malformed Google Fonts requests#458
ketanyekale wants to merge 1 commit into
mainfrom
docs/remove-empty-fonts-config

Conversation

@ketanyekale

Copy link
Copy Markdown
Member

What

Deletes the fonts block from docs.json:

"fonts": {
  "heading": { "family": "" },
  "body": { "family": "" }
}

Why

The empty family strings make Mintlify build a Google Fonts URL with no font name — css2?family=:ital,wght@0,400;… — on every page load. Google returns an error page, and Chrome DevTools flags it as CORB-blocked response + failed stylesheet (2 failing requests per page view, visible in the Issues panel on production).

The site already renders with Mintlify's default font stack (the custom-font request has never succeeded), so removing the block changes nothing visually — it just eliminates the guaranteed-failing requests. If a custom font was ever intended, it can be re-added with a real family name.

Unrelated to the version-selector Error 500 investigation (#457) — this is independent cleanup found while debugging it.

🤖 Generated with Claude Code

fonts.heading.family and fonts.body.family were empty strings, which
made Mintlify request https://fonts.googleapis.com/css2?family=:ital,...
with no family name on every page load. Google returns an error page,
which Chrome reports as CORB-blocked / failed stylesheet. The site
already renders with Mintlify's default font stack, so removing the
block changes nothing visually and drops two guaranteed-failing
requests per page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cometchat 🟢 Ready View Preview Aug 7, 2026, 4:27 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant