diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-13 16:36:31 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-13 21:26:21 +0200 |
commit | 6403207482ac14a80c4fc4f2d13be2c7ebab3097 (patch) | |
tree | f4517c6ea513fd7639a3223c56e7b2280fd9e41b /tools | |
parent | 3b31a65a76de7f29f32c27201b35f5f3c17d14e5 (diff) |
Documentation: Fix example gallery after adding the PDF examples
Add further exclusions.
Amends 322975d2262a5f31bfa5940451458702e82ee010.
Change-Id: I22d68a3835969909fbc0518f327c563c0212dc11
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/example_gallery/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/example_gallery/main.py b/tools/example_gallery/main.py index 29c5ae702..7f51e8b3c 100644 --- a/tools/example_gallery/main.py +++ b/tools/example_gallery/main.py @@ -121,7 +121,7 @@ def get_code_tabs(files, project_dir): for i, project_file in enumerate(files): pfile = Path(project_file) - if pfile.suffix in (".jpg", ".png", ".pyc"): + if pfile.suffix in (".jpg", ".pdf", ".png", ".pyc", ".svg", ".svgz"): continue content += f".. tabbed:: {project_file}\n\n" |