aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-01-26 09:38:44 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-26 22:36:11 +0000
commit80cfa8d2fcac2ce48c7674f6cbc881f78dcbd841 (patch)
tree98f3ab6674a6e76279c247a2dc940fc2ddc2ae85
parent589718dfd6ce6a974d84df9a14afacf0cde4967e (diff)
Examples: Fix example URLs and documentation warnings
Fix: sources/pyside6/doc/examples/example_corelib__mimetypesbrowser.rst:4: WARNING: Unknown target name: "mime type browser example https://doc.qt.io/qt-6/qtcore-mimetypes-mimetypebrowser-example.html". sources/pyside6/doc/examples/example_multimedia__audiosource.rst:4: WARNING: Unknown target name: "audio source example https://doc-snapshots.qt.io/qt6-dev/qtmultimedia-multimedia-audiosource-example.html". sources/pyside6/doc/examples/example_widgets_tools_regularexpression.rst:4: WARNING: Unknown target name: "qregularexpression example https://doc.qt.io/qt-6/qtwidgets-tools-regularexpression-example.html". sources/pyside6/doc/examples/example_widgets_tools_regularexpression.rst:: WARNING: image file not readable: examples/regularexpression.png Task-number: PYSIDE-841 Change-Id: I541df87560227d4361823b2948890fb2bf949d8e Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit c81ee3c92ac022bb5e9b3d0db72f157a1e1a6513) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/corelib/mimetypesbrowser/doc/mimetypesbrowser.rst5
-rw-r--r--examples/multimedia/audiosource/doc/audiosource.rst5
-rw-r--r--examples/widgets/tools/regularexpression/doc/regularexpression.png (renamed from examples/widgets/tools/regularexpression/doc/regularexpression-min.png)bin33814 -> 33814 bytes
-rw-r--r--examples/widgets/tools/regularexpression/doc/regularexpression.rst3
4 files changed, 5 insertions, 8 deletions
diff --git a/examples/corelib/mimetypesbrowser/doc/mimetypesbrowser.rst b/examples/corelib/mimetypesbrowser/doc/mimetypesbrowser.rst
index 7ce2f9c38..e8e4d1ecd 100644
--- a/examples/corelib/mimetypesbrowser/doc/mimetypesbrowser.rst
+++ b/examples/corelib/mimetypesbrowser/doc/mimetypesbrowser.rst
@@ -1,9 +1,8 @@
MIME Type Browser Example
=========================
-A Python application that demonstrates the analogous example in C++ `MIME Type
-Browser Example
-https://doc.qt.io/qt-6/qtcore-mimetypes-mimetypebrowser-example.html`_
+A Python application that demonstrates the analogous example in C++
+`MIME Type Browser Example <https://doc.qt.io/qt-6/qtcore-mimetypes-mimetypebrowser-example.html>`_
.. image:: mimetypesbrowser.png
:width: 400
diff --git a/examples/multimedia/audiosource/doc/audiosource.rst b/examples/multimedia/audiosource/doc/audiosource.rst
index 0a2353bc5..b1dcd61a8 100644
--- a/examples/multimedia/audiosource/doc/audiosource.rst
+++ b/examples/multimedia/audiosource/doc/audiosource.rst
@@ -1,9 +1,8 @@
Audio Source Example
====================
-A Python application that demonstrates the analogous example in C++ `Audio
-Source Example
-https://doc-snapshots.qt.io/qt6-dev/qtmultimedia-multimedia-audiosource-example.html`_
+A Python application that demonstrates the analogous example in C++
+`Audio Source Example <https://doc-snapshots.qt.io/qt6-dev/qtmultimedia-multimedia-audiosource-example.html>`_
.. image:: audiosource.png
diff --git a/examples/widgets/tools/regularexpression/doc/regularexpression-min.png b/examples/widgets/tools/regularexpression/doc/regularexpression.png
index 11e70f4a8..11e70f4a8 100644
--- a/examples/widgets/tools/regularexpression/doc/regularexpression-min.png
+++ b/examples/widgets/tools/regularexpression/doc/regularexpression.png
Binary files differ
diff --git a/examples/widgets/tools/regularexpression/doc/regularexpression.rst b/examples/widgets/tools/regularexpression/doc/regularexpression.rst
index b8e659904..59a66acba 100644
--- a/examples/widgets/tools/regularexpression/doc/regularexpression.rst
+++ b/examples/widgets/tools/regularexpression/doc/regularexpression.rst
@@ -2,8 +2,7 @@ QRegularExpression Example
==========================
A Python application that demonstrates the analogous example in C++
-`QRegularExpression Example
-https://doc.qt.io/qt-6/qtwidgets-tools-regularexpression-example.html`_
+`QRegularExpression Example <https://doc.qt.io/qt-6/qtwidgets-tools-regularexpression-example.html>`_
.. image:: regularexpression.png