Add jekyll-sitemap plugin to Jekyll config#60
Conversation
Review Summary by QodoAdd jekyll-sitemap plugin to Jekyll configuration
WalkthroughsDescription• Adds jekyll-sitemap plugin to Jekyll configuration • Automatically generates sitemap.xml for documentation site • Improves SEO by helping search engines discover pages Diagramflowchart LR
A["Jekyll Config"] -- "adds plugin" --> B["jekyll-sitemap"]
B -- "generates" --> C["sitemap.xml"]
C -- "improves" --> D["SEO Discovery"]
File Changes1. _config.yml
|
Code Review by Qodo
1.
|
| plugins: | ||
| - jekyll-seo-tag | ||
| - jekyll-relative-links | ||
| - jekyll-sitemap |
There was a problem hiding this comment.
2. Missing sitemap gem dependency 🐞 Bug ☼ Reliability
_config.yml declares the jekyll-sitemap plugin, but the gem isn’t present in Gemfile/Gemfile.lock, so Bundler won’t install it. The Pages build (bundle exec jekyll build) will fail when Jekyll tries to load an uninstalled plugin.
Agent Prompt
### Issue description
`jekyll-sitemap` is configured as a plugin in `_config.yml` but is not included in Bundler dependencies, so the build will fail when Jekyll attempts to load the plugin.
### Issue Context
The GitHub Pages workflow uses `bundler-cache: true` and runs `bundle exec jekyll build`, which requires all configured plugins to be available as installed gems.
### Fix Focus Areas
- Gemfile[1-6]
- Gemfile.lock[170-175]
- _config.yml[23-27]
### Suggested change
1. Add the dependency:
```ruby
gem "jekyll-sitemap"
```
2. Run `bundle install` to update `Gemfile.lock`.
3. Ensure the `_config.yml` plugin entry is correctly indented as a peer list item.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
There was a problem hiding this comment.
Pull request overview
Adds jekyll-sitemap to the documentation site’s Jekyll configuration so a sitemap.xml can be generated automatically for better SEO/discoverability.
Changes:
- Updates Jekyll
pluginsconfiguration to includejekyll-sitemap.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| plugins: | ||
| - jekyll-seo-tag | ||
| - jekyll-relative-links | ||
| - jekyll-sitemap |
There was a problem hiding this comment.
The new jekyll-sitemap entry is indented under jekyll-relative-links, which changes the YAML structure (nested list) and can cause Jekyll to ignore the plugin or fail parsing. Align jekyll-sitemap with the other plugin list items (same indentation as - jekyll-seo-tag). Also ensure the plugin is available to the build (e.g., add gem "jekyll-sitemap" to the Gemfile) so bundle exec jekyll build doesn’t fail.
| - jekyll-sitemap | |
| - jekyll-sitemap |
|



Add
jekyll-sitemapplugin to the Jekyll_config.ymlto automatically generate a sitemap.xml for the documentation site. This improves SEO by helping search engines discover and index all pages.