From db615e81615ee993cac69a3477351427d798e31e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Wed, 7 Jul 2021 10:47:13 +0200 Subject: doc: improve tutorials and styling - Creating screenshots for tutorials. - Add gallery style for tutorials. - Add corporate Icons to the frontpage. - tools: Reduce example long names in the gallery. - videos: new order using panels - Add tutorial about "Why Qt for Python" Change-Id: I3ba50f74998399a47b4a34c1de029f3b746aa1e2 Reviewed-by: Christian Tismer Reviewed-by: Alex Blasche --- tools/example_gallery/main.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/example_gallery/main.py b/tools/example_gallery/main.py index b923b24d3..d6ca7b827 100644 --- a/tools/example_gallery/main.py +++ b/tools/example_gallery/main.py @@ -123,6 +123,9 @@ def get_module_gallery(examples): gallery += f"{ind(1)}:img-top: {img_name}\n" gallery += f"{ind(1)}:img-top-cls: + d-flex align-self-center\n\n" + # Fix long names + if name.startswith("chapter"): + name = name.replace("chapter", "c") gallery += f"{ind(1)}`{name} <{url}>`_\n" gallery += f"{ind(1)}+++\n" -- cgit v1.2.3