Skip to content

chore(docs): configure site URL in Astro config - #3963

Merged
setchy merged 1 commit into
mainfrom
chore/astro-site-url
Oct 27, 2026
Merged

setchy merged 1 commit into
mainfrom
chore/astro-site-url

Conversation

@setchy

@setchy setchy commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Summary

Sets site in docs/astro.config.ts to https://atlassify.io, sourced from siteMetadata.url so there is a single source of truth.

Why

Astro needs site to generate absolute URLs. Without it, Astro.site and Astro.url have no origin, which prevents canonical links, og:url, og:image, RSS and sitemap generation from resolving correctly.

This is the prerequisite for making page-level metadata work and for adding a sitemap later, if the site ever needs one.

Notes

  • No visual, routing or content changes. The Netlify build (base = docs) is unaffected.
  • siteMetadata.url already drives og:url in docs/src/layouts/Layout.astro, so no new value was introduced.
  • Verified with pnpm build and pnpm lint:check in docs/.

Follow-up (not in this PR)

docs/src/layouts/Layout.astro hardcodes og:url to the site root and does not emit a <link rel="canonical">. With site set, both can become page-aware via Astro.url.

@github-actions github-actions Bot added the chore Miscellaneous tasks label Oct 27, 2026
@netlify

netlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for atlassify canceled.

Name Link
🔨 Latest commit 8035e67
🔍 Latest deploy log https://app.netlify.com/projects/atlassify/deploys/6ae09cf9ac0c5fed4c970e27

@gitar-bot

gitar-bot Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Setting Astro’s site origin changes generated absolute URLs, and an incorrect origin could produce broken canonical, social, RSS, or sitemap links.

Sets Astro site in docs/astro.config.ts to https://atlassify.io, sourced from siteMetadata.url so there is a single source of truth for absolute URLs. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@setchy
setchy merged commit eedc239 into main Oct 27, 2026
20 checks passed
@setchy
setchy deleted the chore/astro-site-url branch October 27, 2026 12:48
@github-actions github-actions Bot added this to the Release 3.17.1 milestone Oct 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in Atlassify v3.17.1! 🎉

Downloads for macOS, Windows, and Linux are available on the release page.

Thanks for helping make Atlassify better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Miscellaneous tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant