Skip to content

docs: self-host brand fonts (remove Google Fonts / CDN)#20991

Merged
bloxster merged 2 commits into
release/3.4from
docs/self-hosted-fonts
May 5, 2026
Merged

docs: self-host brand fonts (remove Google Fonts / CDN)#20991
bloxster merged 2 commits into
release/3.4from
docs/self-hosted-fonts

Conversation

@bloxster

@bloxster bloxster commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Removes @import from fonts.googleapis.com and fonts.cdnfonts.com in custom.css
  • Replaces with @font-face declarations serving fonts from /fonts/*.woff2 (self-hosted)
  • Adds 5 woff2 files to docs/site/static/fonts/: Montserrat ExtraBold, Nunito Sans Regular/Bold/ExtraBold, Quantify
  • Font files are identical to those already used in erigon-website (newebsite)

No visual change — same font stack, same weights. Eliminates two third-party network requests on every page load.

Test plan

  • cd docs/site && pnpm run build — clean build, no broken links
  • Open site locally and verify fonts load correctly in light + dark mode
  • Check Network tab: no requests to fonts.googleapis.com or fonts.cdnfonts.com

🤖 Generated with Claude Code

Replace @import from fonts.googleapis.com and fonts.cdnfonts.com with
@font-face declarations pointing to /fonts/*.woff2 served locally.

Fonts added to docs/site/static/fonts/:
- Montserrat-ExtraBold.woff2 (wght 800 — headings)
- NunitoSans-Regular.woff2 (wght 400 — body)
- NunitoSans-Bold.woff2 (wght 700 — body bold)
- NunitoSans-ExtraBold.woff2 (wght 800 — body extra bold)
- Quantify.woff2 (navbar brand title)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bloxster bloxster enabled auto-merge (squash) May 5, 2026 09:23
@bloxster bloxster merged commit 9c16f19 into release/3.4 May 5, 2026
21 checks passed
@bloxster bloxster deleted the docs/self-hosted-fonts branch May 5, 2026 10:51
pull Bot pushed a commit to Dustin4444/erigon that referenced this pull request May 13, 2026
## Summary

Brings the full `docs/site/` Docusaurus tree into `main`, incorporating
all documentation improvements developed against `release/3.4`.

**Scope:** `docs/site/**` + root `llms.txt` / `llms-full.txt` + removal
of superseded `docs/gitbook/` and `docs/gitbook-help/`. No changes to
Go, proto, or any non-docs source files.

### Included — merged to release/3.4

| PR | What |
|----|------|
| [erigontech#20883](erigontech#20883) | Docusaurus
v3 migration — full `docs/site/` tree, Docusaurus config, versioned v3.3
snapshot |
| [erigontech#20263](erigontech#20263) /
[erigontech#20264](erigontech#20264) | All v3.3
docs ported; branch/versioning convention established |
| [erigontech#20978](erigontech#20978) | Mobile
footer fix, SEO meta tags, OG image |
| [erigontech#20991](erigontech#20991) | Self-host
brand fonts (remove Google Fonts / CDN) |
| [erigontech#21000](erigontech#21000) | `llms.txt`
/ `llms-full.txt` generator script + root artifacts |
| [erigontech#21018](erigontech#21018) | May 2026
w19 maintenance — stale flags, broken links, accuracy fixes |
| [erigontech#21045](erigontech#21045) | CI:
docs-only path filter (skip Go jobs, run docs-site build) |
| [erigontech#21063](erigontech#21063) | `trace`
response fields reference + sync-monitoring guidance |
| [erigontech#21074](erigontech#21074) | Regenerate
`llms.txt` after sync-modes update |
| [erigontech#20997](erigontech#20997) | Brand font
consistency fix, installation page UX |

### Included — pending review on release/3.4

| PR | What |
|----|------|
| [erigontech#21030](erigontech#21030) | Automated
disk size pipeline: `update-disk-sizes.py`, `disk-sizes.json`,
`hardware-requirements.mdx` JSX fix, `generate-llms.py` `—` fallback,
unit tests |
| [erigontech#21129](erigontech#21129) | May 2026
w20 maintenance — `--caplin.nat`, `--caplin.columns-keep-slots`, RPC
subscription defaults, `nat.md` Caplin section, log.dir.verbosity
default |

### What changes on `main`

- `docs/site/` added (full Docusaurus tree, current v3.4 + frozen v3.3
snapshot)
- `docs/gitbook/` and `docs/gitbook-help/` removed (superseded by
Docusaurus)
- Root `llms.txt` and `llms-full.txt` updated to Docusaurus-generated
versions

> ⚠️ This PR does **not** remove `docs/gitbook/` yet — that cleanup will
be a separate commit once this PR is reviewed and approved.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Bloxster <bloxster@proton.me>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: lupin012 <58134934+lupin012@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants