From 74bbaa22b383b3323fcc3d41ad5b82fa89895c92 Mon Sep 17 00:00:00 2001 From: Sebastiaan Huber Date: Sat, 28 Oct 2023 21:01:05 +0200 Subject: [PATCH] Docs: Address warning from `pydata-sphinx-theme` (#978) The warning read: The default value for `navigation_with_keys` will change to `False` in the next release. If you wish to preserve the old behavior for your site, set `navigation_with_keys=True` in the `html_theme_options` dict in your `conf.py` file. Be aware that `navigation_with_keys = True` has negative accessibility implications: https://github.com/pydata/pydata-sphinx-theme/issues/1492 Here we set `navigation_with_keys=False` to avoid the negative accessibility implications. --- docs/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 7c3445c45..565ea406a 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -118,6 +118,7 @@ 'github_url': 'https://github.com/aiidateam/aiida-quantumespresso', 'twitter_url': 'https://twitter.com/aiidateam', 'use_edit_page_button': True, + 'navigation_with_keys': False, 'logo': { 'text': 'AiiDA Quantum ESPRESSO', 'image_light': '_static/logo_aiida_quantumespresso-light.png',