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

html_file_suffix configuration values is not respected #56

Closed jdetaeye closed 1 year ago

jdetaeye commented 1 year ago

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 https://github.com/jdillard/sphinx-sitemap/blob/edf8c48339b6fe56ed2738298303e4ca4b997970/sphinx_sitemap/__init__.py#L109

Shall I create a pull request?

jdillard commented 1 year ago

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

jdillard commented 1 year ago

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