Re: [PATCH 1/5] docs: Switch the default HTML theme to alabaster
From: Mauro Carvalho Chehab
Date: Thu Oct 06 2022 - 01:09:28 EST
Em Wed, 05 Oct 2022 11:49:33 -0600
Jonathan Corbet <corbet@xxxxxxx> escreveu:
> Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx> writes:
>
> > I wonder if the right way to do this would be to define our own theme,
> > which would mostly just extend alabaster, but would have small tweaks
> > [2]. Where are the Jinja experts when you need one?!
> >
> > [2] https://www.sphinx-doc.org/en/master/templating.html
>
> I've pondered just creating our own theme, it's not *that* hard to do.
> It's another thing to maintain across multiple sphinx versions, though.
Yeah, that can be painful. Btw, at least on Fedora, RTD dark theme is
not working anymore (perhaps because Python 3.10 - the extension announces
it up to python 3.9).
I suspect that maintaining our own theme will require extra efforts to
workaround with per-version ABIs that keep changing on both Python and
Sphinx sides.
> I'd be more enthusiastic about the idea if we had a $SOMEBODY who would
> commit to doing that.
>
> Thanks,
>
> jon