update frontend docs refinements - #516
Merged
martin-mfg merged 8 commits intoAug 26, 2026
Merged
Conversation
|
@marcalexiei is attempting to deploy a commit to the martin-mfg's projects Team on Vercel. A member of the Team first needs to authorize it. |
Merged
martin-mfg
merged commit Aug 26, 2026
f069981
into
stats-organization:update-frontend-docs
0 of 2 checks passed
martin-mfg
added a commit
that referenced
this pull request
Aug 27, 2026
…hem (#522) > [!NOTE] > Just a POC, marking as draft until #515 and #516 are merged. - Adds `apps/frontend/src/plugins/rehypeCardImages.ts`: a `/api` image that names no theme is emitted twice, once per site theme — `light_github` / `dark_github` or the `*_repocard` pair. One that names a theme is left untouched. - Every `/api` image also gets `loading="lazy" decoding="async"`, so the theme is not using costs no request. - Drops the inline `<img>`/`<a>` HTML from `docs/index.md` and `customization/theming.md`; previews on the other docs pages became theme-aware without being edited. Once the other docs PRs are merged I'll rebase and apply the same change everywhere. --------- Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
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.
Uh oh!
There was an error while loading. Please reload this page.