Hi Jean, Thanks for the reply. I saw that, but how do you use it from the config file? If there's no way, then it isn't really a replacement.
Thanks, -Dan On Wed, May 25, 2022, 5:44 PM Jean Abou Samra <j...@abou-samra.fr> wrote: > > > Le 24/05/2022 à 23:26, Dan Sandberg a écrit : > > From posts like: > > > > > https://stackoverflow.com/questions/15555088/use-custom-html-writer-in-sphinx > > > > It seems like in the past you could specify a custom writer by setting > > the html_translator_class attribute in conf.py. > > > > Is there any replacement that can be done through the conf.py > > configuration rather than by programatically creating a sphinx instance? > > > > I'm trying to modify the HTML output without changing the source-code > > itself, and without creating a python instance so that I can continue > > to use the command line tools like sphinx-build. > > > > Thanks, > > > > -Dan > > > See > > https://www.sphinx-doc.org/en/master/changes.html#release-1-5-released-dec-5-2016 > > That configuration value was deprecated in favor of > > > https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.set_translator > > Jean > > -- 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/CAPdzqXA%2BGZgK4zYzCetmuWe%3DrhDCpCPVB5H9Pfs1AWjnLpSTTw%40mail.gmail.com.