Closed jasongitmail closed 1 month ago
The changes introduce a sitemap feature to the project, enhancing its documentation and functionality. A new dependency, super-sitemap
, is added to facilitate sitemap generation. A server-side handler is implemented to create a sitemap that excludes specific routes, particularly admin-related ones, ensuring a structured representation of the site's navigation.
File | Change Summary |
---|---|
README.md |
Added a new section titled "Sitemap" to enhance documentation regarding project navigation. |
package.json |
Added super-sitemap dependency with version ^0.15.1 for sitemap generation capabilities. |
src/routes/(marketing)/sitemap.xml/+server.ts |
Implemented GET request handler to generate sitemap using super-sitemap , excluding admin routes. |
Objective | Addressed | Explanation |
---|---|---|
Add sitemap (#[130]) | β | |
Include exclusion of admin routes (#[130]) | β |
π "In the garden where we play,
A sitemap blooms, bright as day.
With paths to hop and routes to see,
Our project grows, as sweet as can be!
So letβs rejoice, with hops and cheer,
A clearer map is finally here!" πΌ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@jasongitmail Missing files? I fixed formatting errors but I'm getting build errors.
You can run the following locally to perform all the checks
npm run format_check
npm run lint
npm run build
npm run check
npm run test_run
I pushed a commit for formatting. All checks passing on this PR.
Nope, not missing files. If there's a build error, it's most likely not super-sitemap related. But lmk what error you're seeing if any.
I just forgot to npm install
π€¦. Will take a look!
@jasongitmail thanks!
haha that happens! You're welcome π
Closes #130
Summary by CodeRabbit
New Features
Dependencies
super-sitemap
library to improve sitemap management.