jdillard/sphinx-sitemap

html_file_suffix configuration values is not respected

Closed this issue · 2 comments

In my conf.py file I set "html_file_suffix=.php".
The generated sitemap however refers to URLs with the extension ".html".

I believe it's hardcoded at

sitemap_link = pagename + ".html"

Shall I create a pull request?

Ah, I didn't know about that configuration option. That would be great!

Version 2.5.0 with support for html_file_suffix has now been released, thanks for the PR!