Skip to content

fix(config): add site URL for sitemap generation#80

Closed
jmirchh75 wants to merge 1 commit into
thoth-tech:mainfrom
jmirchh75:fix/add-site-config
Closed

fix(config): add site URL for sitemap generation#80
jmirchh75 wants to merge 1 commit into
thoth-tech:mainfrom
jmirchh75:fix/add-site-config

Conversation

@jmirchh75
Copy link
Copy Markdown
Contributor

Description

This PR adds the 'site' configuration option to 'astro.config.mjs' to support sitemap generation.

The build previously produced a warning that the sitemap integration requires the 'site' Astro config option. This was resolved by adding the documentation site URL within the file.

Build before changes; warning:
npm run build warning

Build after changes; no warning:
npm run build no astro warnjng

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

The following command was run locally:

npm run build

Testing Checklist

  • Tested in latest Chrome
  • Tested in latest Safari
  • Tested in latest Firefox

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have requested a review from ... on the Pull Request

@netlify
Copy link
Copy Markdown

netlify Bot commented May 9, 2026

Deploy Preview for ontrackdocumentation failed.

Name Link
🔨 Latest commit 07f7b06
🔍 Latest deploy log https://app.netlify.com/projects/ontrackdocumentation/deploys/69ff733702d1dc000806acba

@anaghwadhwa123
Copy link
Copy Markdown

Looks good to me. I tested this in my local environment as well and had no issues with Julian's code.

Copy link
Copy Markdown

@YG-GOV YG-GOV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the PR and the changes look good overall.
The CI/build check passed successfully and the sitemap configuration update makes sense.
The current failing checks seem related to Netlify deploy issues rather than the actual code changes themselves. Nice work.

@Roeenk27
Copy link
Copy Markdown
Contributor

Resolves the sitemap warning cleanly and CI passes. Looks good to me.

@SteveDala
Copy link
Copy Markdown
Collaborator

It doesn't look like you have done everything required to get the sitemap working. For instance, you have removed the warning, but now Netlify cannot build the site.

@jmirchh75 jmirchh75 closed this May 17, 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.

5 participants