From d3487c48bf6b6f10f2f8d90d3ed9898032f01fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 18 Oct 2023 08:23:55 -0400 Subject: [PATCH] doc: Group linkcheck options together in conf.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Group all sections related to linkcheck target together. Signed-off-by: Benjamin Cabé --- doc/conf.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 388ccd66015..0ac0dd2bfd0 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -200,12 +200,6 @@ latex_documents = [ ("index-tex", "zephyr.tex", "Zephyr Project Documentation", author, "manual"), ] -# -- Options for linkcheck ------------------------------------------------ - -linkcheck_ignore = [ - r"https://github.com/zephyrproject-rtos/zephyr/issues/.*" -] - # -- Options for zephyr.doxyrunner plugin --------------------------------- doxyrunner_doxygen = os.environ.get("DOXYGEN_EXECUTABLE", "doxygen") @@ -320,6 +314,10 @@ copybutton_prompt_is_regexp = True # -- Linkcheck options ---------------------------------------------------- +linkcheck_ignore = [ + r"https://github.com/zephyrproject-rtos/zephyr/issues/.*" +] + extlinks = { "github": ("https://github.com/zephyrproject-rtos/zephyr/issues/%s", "GitHub #%s"), }