Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add sitemap.xml to website #910

Merged
merged 1 commit into from
Sep 20, 2024
Merged

✨ Add sitemap.xml to website #910

merged 1 commit into from
Sep 20, 2024

Conversation

cowboyd
Copy link
Member

@cowboyd cowboyd commented Sep 19, 2024

Motivation

We're moving to provide sitemaps for all our minisites as a mechanism to composing them into the main frontside.com website. This adds a sitemap plugin which provides a /sitemap.xml route that scans all application middlewares and if any of them produce a set of sitemap paths, it addes them to the sitemap.

Approach

Right now, the sitemap plugin provides an API compatible version of the route() helper from revolution. The idea is that we can copy this plugin into our sites and use it until we settle on a good api. Then, we can either add it to revolution itself or maybe extract it into a contrib-like package.

The sitemaps for the v2 docs needed to be extended because of the way docusaurus dynamically loads JavaScript.

Screenshots

image

Notes

This also includes an upgrade of Effection for the website to 3.0.3 which is a requirement for the latest version of revolution.

We're moving to provide sitemaps for all our minisites as a mechanism
to composing them into the main frontside.com website. This adds a
sitemap plugin which provides a `/sitemap.xml` route that scans all
application middlewares  and if any of them produce a set
of sitemap paths, it addes them to the sitemap.

Right now, the sitemap plugin provides an API compatible version of
the `route()` helper from revolution. The idea is that we can copy
this plugin into our sites and use it until we settle on a good api.
Then, we can either add it to revolution itself or maybe extract it
into a contrib-like package.
@cowboyd cowboyd merged commit ef3e740 into v3 Sep 20, 2024
3 checks passed
@cowboyd cowboyd deleted the cl/www-sitemap branch September 20, 2024 12:37
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.

3 participants