[PATCH 0/1] Docs: use RTD dark mode if available

From: Mauro Carvalho Chehab
Date: Wed Dec 01 2021 - 03:22:19 EST


Hi Jon,

As we're analyzing some theme alternatives, one of the things that annoys
me more at our theme is that it doesn't come with a dark mode.

At least here, I strongly prefer dark themes, as it seems to be a lot more
comfortable to my eyes, specially in the morning.

There's an extension to the RTD theme that allows building the docs with a
dark theme, with a button to select normal mode.

As this comes almost for free, optionally enable the dark mode extension if
such theme is installed at the machine.

Mauro Carvalho Chehab (1):
docs: add support for dark mode

Documentation/conf.py | 8 ++++++++
1 file changed, 8 insertions(+)

--
2.33.1