aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2023-02-03 15:35:08 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-03 16:20:15 +0000
commitb149284a371f9cae62d76d0a0a4e22c8dff1f078 (patch)
tree6b9ccd175f6ed6655f1e43e1e1ce3e6620c0140e
parentd00d4bfc628d47f3585377ca454e5a09796ee253 (diff)
doc: fix build warnings
Issues were found related to images, indentation level, and old references. Change-Id: Idb343d4b3660ec44148fffd2de978ea868c56e90 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit d0540035e8610945017d417f823dbe85a173498a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/datavisualization/surface_numpy/doc/surface_numpy.rst2
-rw-r--r--examples/external/networkx/doc/networkx.rst2
-rw-r--r--examples/quick/window/doc/window.rst4
-rw-r--r--sources/pyside6/doc/contents.rst2
-rw-r--r--sources/pyside6/doc/developer/extras.rst1
5 files changed, 6 insertions, 5 deletions
diff --git a/examples/datavisualization/surface_numpy/doc/surface_numpy.rst b/examples/datavisualization/surface_numpy/doc/surface_numpy.rst
index b99ecc0fa..8a921a4ad 100644
--- a/examples/datavisualization/surface_numpy/doc/surface_numpy.rst
+++ b/examples/datavisualization/surface_numpy/doc/surface_numpy.rst
@@ -17,7 +17,7 @@ option. This example demonstrates the following features:
For instructions about how to interact with the graph, see `this page`_.
-.. image:: surface/doc/surface_mountain.png
+.. image:: surface_mountain.png
:width: 400
:alt: Surface Example Screenshot
diff --git a/examples/external/networkx/doc/networkx.rst b/examples/external/networkx/doc/networkx.rst
index 5266649c0..58897d3b7 100644
--- a/examples/external/networkx/doc/networkx.rst
+++ b/examples/external/networkx/doc/networkx.rst
@@ -3,6 +3,6 @@ Networkx viewer Example
A Python application that demonstrates how to display networkx graph into a QGraphicsView.
-.. image::
+.. image:: networkx.png
:width: 400
:alt: Networkx viewer Screenshot
diff --git a/examples/quick/window/doc/window.rst b/examples/quick/window/doc/window.rst
index 8736bb629..6a8f73eed 100644
--- a/examples/quick/window/doc/window.rst
+++ b/examples/quick/window/doc/window.rst
@@ -17,7 +17,7 @@ For the "shared" module approach to work with QML and rcc, you need:
* A module definition *qmldir* file
* A Qt Resource Collection file (.qrc) specifying all the QML files and other
-resources, plus the *qmldir* file
+ resources, plus the *qmldir* file
The .qrc file is the input to rcc. This will generate a Python module (called
*shared_rc* here) that can then be imported from the Python code. At runtime,
@@ -28,7 +28,7 @@ module.
For the example, rcc needs:
* A Qt Resource Collection file (.qrc) specifying all the QML files and other
-resources. There is no qmldir file here because this is not a module.
+ resources. There is no qmldir file here because this is not a module.
This will generate a Python module (called *window_rc* here) that can then be
imported from the Python code. Again, only the Python module is needed at
diff --git a/sources/pyside6/doc/contents.rst b/sources/pyside6/doc/contents.rst
index 9d471d7f9..0208cae82 100644
--- a/sources/pyside6/doc/contents.rst
+++ b/sources/pyside6/doc/contents.rst
@@ -12,7 +12,7 @@
deployment/index.rst
considerations.rst
developer/index.rst
- commercial.rst
+ commercial/index.rst
..
Intersphinx references in toctrees is not supported
diff --git a/sources/pyside6/doc/developer/extras.rst b/sources/pyside6/doc/developer/extras.rst
index 6b34ea4db..e172e05d7 100644
--- a/sources/pyside6/doc/developer/extras.rst
+++ b/sources/pyside6/doc/developer/extras.rst
@@ -8,6 +8,7 @@ it's currently in a different repository (``qt/qtqa``):
`qtqa repository <https://code.qt.io/cgit/qt/qtqa.git>`_.
To test the wheels:
+
- Create a virtual environment and activate it.
- Install the dependencies listed on the ``requirements.txt`` file.
- Install all the wheels: ``shiboken6``, ``shiboken6-generator``,