bocoup / web-platform-contribution-guide

Source code for the Web Platform Contribution Guide, a guidebook to becoming a web platform contributor.
https://wpc.guide
13 stars 1 forks source link

Remove ".html" suffixes #124

Closed zcorpan closed 4 years ago

zcorpan commented 4 years ago

Setting https://www.sphinx-doc.org/en/1.2/config.html#confval-html_file_suffix to the empty string generates files without file extension. Would this still make "index" be picked up as the index file, and would the files be served as text/html?

With html_link_suffix the files are still .html but the links omit them. This would work with an Apache server, but I don't know if it would work the way this is set up?

This isn't terribly important, I just think the URLs would be nicer without file extensions.

@jugglinmike @rwaldron

zcorpan commented 4 years ago

Oh, I just saw https://github.com/bocoup/web-platform-contribution-guide/pull/122 which fixes this. Cool!