Advanced Compiler-Compiler Platform
This document describes the implementation of automatic sitemap generation for the Minotaur GitHub Pages site.
The GitHub Pages site at https://develapp-ai.github.io/Minotaur/ was not generating a sitemap.xml file, which is important for:
Added the jekyll-sitemap plugin to the Jekyll configuration, which is an officially supported GitHub Pages plugin.
_config.ymlAdded three key configurations:
url: https://develapp-ai.github.io
baseurl: /Minotaur
These settings are required for the sitemap plugin to generate correct absolute URLs.
sitemap.xml fileurl and baseurl settingsAfter the next GitHub Pages deployment (triggered by merging to main branch), you can verify the sitemap:
https://develapp-ai.github.io/Minotaur/sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://develapp-ai.github.io/Minotaur/</loc>
<lastmod>YYYY-MM-DD</lastmod>
</url>
<!-- More URLs... -->
</urlset>
If you want to test Jekyll locally before deploying:
# Install Jekyll and dependencies
gem install jekyll bundler
# Create a Gemfile with:
# source "https://rubygems.org"
# gem "github-pages", group: :jekyll_plugins
# Install dependencies
bundle install
# Serve the site locally
bundle exec jekyll serve
# Access the sitemap at:
# http://localhost:4000/Minotaur/sitemap.xml
Once the sitemap is live, you can submit it to search engines:
https://develapp-ai.github.io/Minotaur/sitemap.xmlSitemap: https://develapp-ai.github.io/Minotaur/sitemap.xml