diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-06-02 13:38:16 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-06-02 14:47:51 +0200 |
commit | d4b69c62733fb13f21c353163cbbb5caf3dd4bd7 (patch) | |
tree | dad65db6a7218c798a58910e3dd970975bc66de5 | |
parent | 12fa282ec7950473cad184e8ce16e70ee7588715 (diff) |
shiboken6: Fix a few doc warnings
sources/shiboken6/doc/typesystem_manipulating_objects.rst:333: WARNING: Could not lex literal_block as "xml". Highlighting skipped.
sources/shiboken6/doc/typesystem_specifying_types.rst:236: WARNING: undefined label: typesystem node
sources/shiboken6/doc/typesystem_templates.rst:47: WARNING: undefined label: insert-template node
Pick-to: 6.1
Change-Id: Ia031acd2fdef925ff2995fa217bd297fe4512679
Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r-- | sources/shiboken6/doc/typesystem_manipulating_objects.rst | 3 | ||||
-rw-r--r-- | sources/shiboken6/doc/typesystem_specifying_types.rst | 2 | ||||
-rw-r--r-- | sources/shiboken6/doc/typesystem_templates.rst | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/sources/shiboken6/doc/typesystem_manipulating_objects.rst b/sources/shiboken6/doc/typesystem_manipulating_objects.rst index d26ba332a..40b61f52d 100644 --- a/sources/shiboken6/doc/typesystem_manipulating_objects.rst +++ b/sources/shiboken6/doc/typesystem_manipulating_objects.rst @@ -332,7 +332,8 @@ property .. code-block:: xml - <property name="..." type="..." get="..." set="..." " generate-getsetdef="yes | no" since="..."/> + <property name="..." type="..." get="..." set="..." + generate-getsetdef="yes | no" since="..."/> The ``name`` attribute specifies the name of the property, the ``type`` attribute specifies the C++ type and the ``get`` attribute specifies the diff --git a/sources/shiboken6/doc/typesystem_specifying_types.rst b/sources/shiboken6/doc/typesystem_specifying_types.rst index 3cc1a334f..1172b3f15 100644 --- a/sources/shiboken6/doc/typesystem_specifying_types.rst +++ b/sources/shiboken6/doc/typesystem_specifying_types.rst @@ -234,7 +234,7 @@ enum-type ^^^^^^^^^ The ``enum-type`` node maps the given enum from C++ to the target language, - and it is a child of the :ref:`typesystem node`. Use + and it is a child of the :ref:`typesystem` node. Use :ref:`reject-enum-value` child nodes to reject values. .. code-block:: xml diff --git a/sources/shiboken6/doc/typesystem_templates.rst b/sources/shiboken6/doc/typesystem_templates.rst index 7026f1502..795c9d97e 100644 --- a/sources/shiboken6/doc/typesystem_templates.rst +++ b/sources/shiboken6/doc/typesystem_templates.rst @@ -45,7 +45,7 @@ replace ^^^^^^^ The ``replace`` node allows you to modify template code before inserting it into - the generated code, and it can be a child of the :ref:`insert-template node`. + the generated code, and it can be a child of the :ref:`insert-template` node. .. code-block:: xml |