Open
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the documentation landing page visuals and improves social-sharing metadata for the Astro/Starlight docs site.
Changes:
- Replaces the static stack diagram SVG asset usage with an inline
StackDiagramAstro component. - Adds Open Graph/Twitter meta tags (and updates the site description) for richer link previews.
- Adds a social card image asset and removes the old
stack-diagram.svgfile.
Show a summary per file
| File | Description |
|---|---|
| docs/src/content/docs/index.mdx | Swaps embedded diagram image markup for a reusable StackDiagram component. |
| docs/src/components/StackDiagram.astro | Introduces an inline SVG diagram component with theme-aware styling. |
| docs/src/assets/stack-diagram.svg | Removes the old static SVG asset no longer referenced. |
| docs/public/github-social-card.jpg | Adds a social preview image referenced by OG/Twitter meta tags. |
| docs/astro.config.mjs | Updates site description and adds OG/Twitter metadata tags (and removes robots noindex). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
docs/src/components/StackDiagram.astro:61
- The wrapper hard-codes text colors (#1f1f1f / #ffffff), but the docs theme already defines
--sl-color-text(and switches it bydata-theme). Using the theme variable here will keep the SVG aligned with future palette changes and avoid mismatches if additional themes are added.
<style>
.stack-diagram-wrapper {
color: #1f1f1f;
}
:root[data-theme='dark'] .stack-diagram-wrapper {
color: #ffffff;
}
- Files reviewed: 3/5 changed files
- Comments generated: 3
614f5bd to
b4c2af0
Compare
e13e4d0 to
5ee094e
Compare
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.