Skip to content

docs: document global as the escape hatch for undetectable font usage - #917

Merged
danielroe merged 1 commit into
feat/global-metricsfrom
docs/global
Sep 22, 2026
Merged

danielroe merged 1 commit into
feat/global-metricsfrom
docs/global

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

📚 Description

small docs tweak

@danielroe
danielroe added this pull request to stack #916 September 22, 2026 20:34
@coderabbitai

coderabbitai Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Warning

Review limit reached

Next included review available in 49 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 92737736-682f-443d-b1cb-aa4dd40d009f

📥 Commits

Reviewing files that changed from the base of the PR and between 4c8b359 and 3f3b69c.

⛔ Files ignored due to path filters (1)
  • test/fixtures/undetectable/public/svg-font.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • docs/content/1.get-started/2.configuration.md
  • docs/content/1.get-started/3.usage.md
  • test/fixtures/undetectable/app.vue
  • test/fixtures/undetectable/components/NestedStyleText.vue
  • test/fixtures/undetectable/nuxt.config.ts
  • test/undetectable-usage.test.ts

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 7e402f7e-6b95-4b71-8d59-a6e5e2d1af6f

📥 Commits

Reviewing files that changed from the base of the PR and between cd8d586 and 4c8b359.

⛔ Files ignored due to path filters (1)
  • test/fixtures/undetectable/public/svg-font.svg is excluded by !**/*.svg
📒 Files selected for processing (6)
  • docs/content/1.get-started/2.configuration.md
  • docs/content/1.get-started/3.usage.md
  • test/fixtures/undetectable/app.vue
  • test/fixtures/undetectable/components/NestedStyleText.vue
  • test/fixtures/undetectable/nuxt.config.ts
  • test/undetectable-usage.test.ts

Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

The documentation adds guidance for fonts that CSS scanning cannot detect and links the global: true option to that guidance. A new Nuxt fixture covers nested component styles, inline styles, SVG font usage, and global fonts. Tests verify which cases produce extracted @font-face declarations.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 4c8b3

The documentation and coverage changes are suitable to merge with no identified user-facing or production risk.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The description indicates a documentation change, but “small docs tweak” is too vague to explain the documented global behavior or the related test coverage. Replace the vague description with a short summary of the new guidance for undetectable font usage and the tests for inline styles, SVG fonts, and global font emission.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the main change: documenting global for font usage that automatic detection cannot find.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Deploying fonts with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3f3b69c
Status: ✅  Deploy successful!
Preview URL: https://b0a60627.fonts-dsw.pages.dev
Branch Preview URL: https://docs-global.fonts-dsw.pages.dev

View logs

@pkg-pr-new

pkg-pr-new Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/fonts@917

commit: 3f3b69c

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.25%. Comparing base (f730646) to head (3f3b69c).

Additional details and impacted files
@@                 Coverage Diff                  @@
##           feat/global-metrics     #917   +/-   ##
====================================================
  Coverage                71.25%   71.25%           
====================================================
  Files                       15       15           
  Lines                      668      668           
  Branches                   173      173           
====================================================
  Hits                       476      476           
  Misses                     156      156           
  Partials                    36       36           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@danielroe
danielroe added this pull request to the merge queue Sep 22, 2026
Merged via the queue into main with commit ee322d7 Sep 22, 2026
18 checks passed
@danielroe
danielroe deleted the docs/global branch September 22, 2026 21:21
@github-actions github-actions Bot mentioned this pull request Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants