Le 02/12/23 à 22h45, Kevin Dunn a écrit :

> 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

Many thanks Kevin!

But, well... that does the trick locally, but not online. Random page:

- which is working:
  ┌────
  │ 
https://faq.gutenberg-asso.fr/4_domaines_specialises/mathematiques/aligner_des_nombres_sur_la_virgule.html
  └────
- which isn't working (the file is downloaded instead of being displayed):
  ┌────
  │ 
https://faq.gutenberg-asso.fr/4_domaines_specialises/mathematiques/aligner_des_nombres_sur_la_virgule
  └────

The relevant lines of my `conf.py` are here:

  ┌────
  │ 
https://gitlab.gutenberg-asso.fr/gutenberg/faq-gut/-/blob/main/source/conf.py?ref_type=heads#L98-L103
  └────

Have you a specific setting in your Web server config file?

Regards.
-- 
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/871qc3l7d3.fsf%40example.com.

Reply via email to