Hi Denis - have you looked at the `html_file_suffix` and `html_link_suffix` settings options in conf.py? These will probably do what you require.
I use them in my online book (random page: https://learnche.org/pid/data-visualization/box-plots. <- without .html) and my conf.py file is here: https://github.com/kgdunn/pid-book/blob/master/conf.py Regards, Kevin On Sat, Dec 2, 2023 at 6:09 PM Denis Bitouzé <denis.bito...@gmail.com> wrote: > Hi James, > > Le 30/11/23 à 14h35, James Knight a écrit : > > > On Thu, Nov 30, 2023 at 5:22 AM Denis Bitouzé <denis.bito...@gmail.com> > wrote: > >> [Is] it possible to make an automatic redirection from the URL > >> without extension to URL with .html extension? > > > > One approach would be to use the "dirhtml" builder instead of the > > "html" builder. This should give a more clean URL pattern when the > > documentation is hosted on a site. > > I'll have a look, thanks! > -- > Denis > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sphinx-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/87il5gleeo.fsf%40example.com > . > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAGD7iRZaD-QvPbBGpb-bAz9YBxUc4OXbG%2B-L1-gxc%3D5hm2ygeQ%40mail.gmail.com.