From: Marc-André Lureau Date: Fri, 8 Oct 2021 21:06:38 +0000 (+0400) Subject: docs/sphinx: set navigation_with_keys=True X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=96871b38547211d8d91e7d059a3322e67b53657c;p=qmiga%2Fqemu.git docs/sphinx: set navigation_with_keys=True Allow navigating to the previous/next page using the keyboard's left and right arrows. I wish this would be the default, and that the themes would provide more key navigation, but that doesn't seem on the roadmap. Signed-off-by: Marc-André Lureau Reviewed-by: John Snow Reviewed-by: Paolo Bonzini --- diff --git a/docs/conf.py b/docs/conf.py index edc2bf8fcb..f536483bc3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -166,6 +166,7 @@ html_theme = 'sphinx_rtd_theme' if LooseVersion(sphinx_rtd_theme.__version__) >= LooseVersion("0.4.3"): html_theme_options = { "style_nav_header_background": "#802400", + "navigation_with_keys": True, } html_logo = os.path.join(qemu_docdir, "../ui/icons/qemu_128x128.png")