Repository navigation
Search Console verification back; lighter fonts and less JS - #12
Merged
Merged
Conversation
…me page - The google-site-verification tag lived in the docsify index.html and left with it, which dropped the Search Console property. It is back in every page's head. - The home page imported guideExamples from the guide page's module, and with it the documentation layout's client components (sidebar, table of contents, scroll area): the guide data helpers move to lib/guides.ts. The documentation's header gets its own file too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RaUEDkvXY8rVWTJG2GKfhu
|
Preview: https://pr-12.brazilian-utils-docs.pages.dev ( |
…t paint - Geist cut to the weights the site sets (400 to 700) and the default OpenType features plus tabular figures: sans 33 → 21 KB, mono 35 → 16 KB. scripts/subset-fonts.sh makes them. - The header logo is no longer preloaded at high priority: it is not the largest paint, and it took bandwidth from the font that is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RaUEDkvXY8rVWTJG2GKfhu
…n the browser - LangIcon imported the logos' outlines from simple-icons for LangIconDefs, so a client component showing an icon (the cases table) shipped them: the outlines move to lang-icon-defs.tsx (server only) and the colors to lib/lang-colors.ts, which the build checks against the package. - The header logo is a plain <img> and the language redirect a plain inline <script>: with images.unoptimized, next/image and next/script only added their client code to every page. - The provider is fumadocs-ui/provider/next without its next/image (FrameworkProvider + the base RootProvider): Fumadocs falls back to <img>. - lib/guides.ts → lib/guide-data.ts, apart from the existing lib/guides.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RaUEDkvXY8rVWTJG2GKfhu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
google-site-verificationmeta tag lived in the old docsifyindex.html(with a comment saying removing it drops the verification) and left with it. Back in every page's<head>viarootMetadata.home.tsximportedguideExamplesfromcomponents/pages/guide.tsx, which pulled the documentation layout's client components (notebook layout, sidebar, TOC, Radix scroll-area) into the home bundle (~22 KB br). The helpers move tolib/guides.ts;DocsHeadergets its own file.🤖 Generated with Claude Code
https://claude.ai/code/session_01RaUEDkvXY8rVWTJG2GKfhu