Closed ru-fu closed 2 years ago
The "dirhtml" builder correctly uses ".html" as file suffix, but the file suffix should not be part of the URL. We want ".../file_name/" as URL in this case, not ".../file_name.html".
Signed-off-by: Ruth Fuchss ruth.fuchss@canonical.com
Could you add a test case for this?
Done.
Make sure you run black so tests pass (black .)
black .
The "dirhtml" builder correctly uses ".html" as file suffix, but the file suffix should not be part of the URL. We want ".../file_name/" as URL in this case, not ".../file_name.html".
Signed-off-by: Ruth Fuchss ruth.fuchss@canonical.com