jdillard / sphinx-sitemap

Sphinx extension to generate a multi-lingual, multi-version sitemap for HTML builds
https://sphinx-sitemap.readthedocs.io/en/latest/index.html
MIT License
55 stars 21 forks source link

Add `sitemap_excludes` config #92

Closed lepture closed 4 months ago

lepture commented 4 months ago

This configure is used to exclude some certain pages, for example: 404, 500.

Here is a real case:

https://shibuya.lepture.com/customisation/layouts/#layout

https://shibuya.lepture.com/sitemap.xml

lepture commented 4 months ago

Oh, there is already a fix: https://github.com/jdillard/sphinx-sitemap/pull/91