docs/conf.py: Use about.html only in sidebar of alabaster theme
authorAkira Yokosawa <akiyks@gmail.com>
Tue, 10 Jan 2023 09:47:25 +0000 (18:47 +0900)
committerJonathan Corbet <corbet@lwn.net>
Wed, 11 Jan 2023 22:06:50 +0000 (15:06 -0700)
commita33ae832bf3f2ac33e2e44b99f76130d3be848c5
tree5bbe00bbc1d98b3828818af2246b576f14374017
parent31abfdda65279a860b10a98038135501e4fc00a1
docs/conf.py: Use about.html only in sidebar of alabaster theme

"about.html" is available only for the alabaster theme [1].
Unconditionally putting it to html_sidebars prevents us from
using other themes which respect html_sidebars.

Remove about.html from the initialization and insert it at the
front for the alabaster theme.

Link: [1] https://alabaster.readthedocs.io/en/latest/installation.html#sidebars
Fixes: d5389d3145ef ("docs: Switch the default HTML theme to alabaster")
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/4b162dbe-2a7f-1710-93e0-754cf8680aae@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py