manzt / anywidget

reusable widgets made easy
https://anywidget.dev
MIT License
490 stars 39 forks source link

docs: Add sitemap #505

Closed manzt closed 7 months ago

manzt commented 7 months ago

cc: @Coderambling

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 256353854cd76adce99a5c6dbd24c18510ed4209

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Coderambling commented 7 months ago

Wow that was quick! Was the sitemap itself generated by the Astro template( and what framework is that a part of)?

Is that taken care of by this package?

            `"@astrojs/sitemap": "^3.1.1",`

?

Does this mean the sitemap will be updated when the URL structure of the site changes?

So when https://anywidget.dev/en/community/ is published on the site with the showcases, will that URL be automatically added to the sitemap.xml?

manzt commented 7 months ago

The docs are an Astro site. Astro is a web framework. Yes, the site map is generated at build time with that package so it will always stay up to date. There are more details on how to configure it in their docs.