Skip to main content

One post tagged with "sitemap"

View All Tags

Create image sitemap file for Docusaurus

· 4 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Docusaurus doesn't have a built-in feature to create a separate image sitemap. The @docusaurus/plugin-sitemap only handles generating a sitemap for your pages and documentation, not for media like images.

Since the plugin doesn't have a specific option for image sitemaps, the recommended approach is to manually create an XML file that follows the image sitemap protocol and place it in the static directory of your Docusaurus project.