From a627491dae30e6508ee31396e8c34a97517872ea Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Tue, 7 Apr 2020 15:34:15 +0200 Subject: [PATCH] config: do not hyperlink scaled images This way, you don't go to another page if you accidentally click an image. If someone really needs the original size, they can right click on the image and copy or just zoom in. --- doc/common/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/common/conf.py b/doc/common/conf.py index 40c0b49..87ef2b6 100644 --- a/doc/common/conf.py +++ b/doc/common/conf.py @@ -176,6 +176,8 @@ html_sidebars = { ] } +# Don't hyperlink to larger images for scaled images. +html_scaled_image_link = False # -- Options for HTMLHelp output ------------------------------------------