From c8684317240c43e6a337a277c47ee89656eba54e Mon Sep 17 00:00:00 2001 From: Sebastiaan Huber Date: Fri, 27 Oct 2023 19:20:55 +0200 Subject: [PATCH] Docs: Address warning from `pydata-sphinx-theme` 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',