aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-07-07 10:47:13 +0200
committerCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2021-09-09 15:47:06 +0200
commitdb615e81615ee993cac69a3477351427d798e31e (patch)
tree1f3974e29fe50e3ec6a7f98c6423256b4bbf6d84 /tools
parent6dcbbcc08895e3565f95570842f666050aef61a1 (diff)
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 <tismer@stackless.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/example_gallery/main.py3
1 files changed, 3 insertions, 0 deletions
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"