Skip to content

fix(config): enable sitemap generation#82

Open
jmirchh75 wants to merge 2 commits into
thoth-tech:mainfrom
jmirchh75:fix/enable-sitemap-generation
Open

fix(config): enable sitemap generation#82
jmirchh75 wants to merge 2 commits into
thoth-tech:mainfrom
jmirchh75:fix/enable-sitemap-generation

Conversation

@jmirchh75
Copy link
Copy Markdown
Contributor

@jmirchh75 jmirchh75 commented May 17, 2026

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

This was previously submitted as a separate PR, however enabling sitemap generation saw a Netlify build failure within the @astrojs/sitemap integration, meaning the site did not build. To resolve this, a compatible sitemap package was installed (@astrojs/sitemap v3.6.0) and tested locally with no new warnings.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • Documentation (update or new)

How Has This Been Tested?

This was tested locally by running:

npm run build

This was also tested after creation of the PR, in which GitHub performed checks and all tests passed.

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 17, 2026

Deploy Preview for ontrackdocumentation ready!

Name Link
🔨 Latest commit ba285dc
🔍 Latest deploy log https://app.netlify.com/projects/ontrackdocumentation/deploys/6a0980b73906f00008cf293f
😎 Deploy Preview https://deploy-preview-82--ontrackdocumentation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jmirchh75 jmirchh75 changed the title Fix/enable sitemap generation fix(config): enable sitemap generation 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.

1 participant