How to remove .html extension from page urls (gh-pages)? #6046
-
How to remove .html extension from links? I published docs https://stark.markparker.me (repo https://github.com/MarkParker5/STARK) using gh pages and all my links have .html at the end. If I type the url without .html, it still works, but |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I don't have experience with gh-pages but the compilation of the pages is controlled by the |
Beta Was this translation helpful? Give feedback.
Ok, you are using the Offline Plugin, which explains the behavior: "Additionally, the plugin automatically disables the use_directory_urls setting, ensuring that users can open your documentation directly from the local file system." As far as I can see, you can either have offline use or URLs without the
.html
extension.