Skip to content

Commit

Permalink
Fix see also blocks misformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Dec 30, 2022
1 parent 995c0d9 commit f1f7b7a
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 14 deletions.
6 changes: 5 additions & 1 deletion python/core/auto_generated/layertree/qgslayertreenode.sip.in
Expand Up @@ -53,7 +53,11 @@ Custom properties that have already been used within QGIS:
- "legend/..." - properties for legend appearance customization
- "expandedLegendNodes" - list of layer's legend nodes' rules in expanded state

.. seealso:: :py:func:`also`
.. seealso:: :py:class:`QgsLayerTree`

.. seealso:: :py:class:`QgsLayerTreeLayer`

.. seealso:: :py:class:`QgsLayerTreeGroup`

.. versionadded:: 2.4
%End
Expand Down
12 changes: 9 additions & 3 deletions python/core/auto_generated/qgsmaplayer.sip.in
Expand Up @@ -899,7 +899,9 @@ record in the users style table in their personal qgis.db)

:return: a QString with the style file name

.. seealso:: :py:func:`also`
.. seealso:: :py:func:`loadNamedStyle`

.. seealso:: :py:func:`saveNamedStyle`
%End

virtual QString loadDefaultStyle( bool &resultFlag /Out/ );
Expand All @@ -912,7 +914,7 @@ record in the users style table in their personal qgis.db)
:return: - a QString with any status messages
- resultFlag: a reference to a flag that will be set to ``False`` if we did not manage to load the default style.

.. seealso:: :py:func:`also`
.. seealso:: :py:func:`loadNamedStyle`
%End

virtual QString loadNamedStyle( const QString &uri, bool &resultFlag /Out/, QgsMapLayer::StyleCategories categories = QgsMapLayer::AllStyleCategories );
Expand All @@ -931,7 +933,7 @@ record in the users style table in their personal qgis.db)
:return: - a QString with any status messages
- resultFlag: a reference to a flag that will be set to ``False`` if we did not manage to load the default style.

.. seealso:: :py:func:`also`
.. seealso:: :py:func:`loadDefaultStyle`
%End

virtual bool loadNamedStyleFromDatabase( const QString &db, const QString &uri, QString &qml /Out/ );
Expand Down Expand Up @@ -1006,6 +1008,8 @@ record in the users style table in their personal qgis.db)
- resultFlag: a reference to a flag that will be set to ``False`` if we did not manage to save the default style.

.. seealso:: :py:func:`loadNamedStyle`

.. seealso:: :py:func:`saveNamedStyle`
%End

virtual QString saveDefaultStyle( bool &resultFlag /Out/ ) /Deprecated/;
Expand All @@ -1020,6 +1024,8 @@ record in the users style table in their personal qgis.db)

.. seealso:: :py:func:`loadNamedStyle`

.. seealso:: :py:func:`saveNamedStyle`

.. deprecated:: QGIS 3.26
%End

Expand Down
2 changes: 1 addition & 1 deletion python/gui/auto_generated/qgsdetaileditemdelegate.sip.in
Expand Up @@ -15,7 +15,7 @@ class QgsDetailedItemDelegate : QAbstractItemDelegate
A custom model/view delegate that can display an icon, heading
and detail sections.

.. seealso:: :py:func:`also`
.. seealso:: :py:class:`QgsDetailedItemData`
%End

%TypeHeaderCode
Expand Down
4 changes: 3 additions & 1 deletion python/gui/auto_generated/qgsdetaileditemwidget.sip.in
Expand Up @@ -13,7 +13,9 @@ class QgsDetailedItemWidget : QWidget
%Docstring(signature="appended")
A widget renderer for detailed item views.

.. seealso:: :py:func:`also`
.. seealso:: :py:class:`QgsDetailedItem`

.. seealso:: :py:class:`QgsDetailedItemData`
%End

%TypeHeaderCode
Expand Down
4 changes: 3 additions & 1 deletion src/core/layertree/qgslayertreenode.h
Expand Up @@ -69,7 +69,9 @@ class QgsMapLayer;
* - "legend/..." - properties for legend appearance customization
* - "expandedLegendNodes" - list of layer's legend nodes' rules in expanded state
*
* \see also QgsLayerTree, QgsLayerTreeLayer, QgsLayerTreeGroup
* \see QgsLayerTree
* \see QgsLayerTreeLayer
* \see QgsLayerTreeGroup
* \since QGIS 2.4
*/
class CORE_EXPORT QgsLayerTreeNode : public QObject
Expand Down
13 changes: 8 additions & 5 deletions src/core/qgsmaplayer.h
Expand Up @@ -1025,7 +1025,8 @@ class CORE_EXPORT QgsMapLayer : public QObject
* (either as a .qml file on disk or as a
* record in the users style table in their personal qgis.db)
* \returns a QString with the style file name
* \see also loadNamedStyle() and saveNamedStyle();
* \see loadNamedStyle()
* \see saveNamedStyle()
*/
virtual QString styleURI() const;

Expand All @@ -1036,7 +1037,7 @@ class CORE_EXPORT QgsMapLayer : public QObject
* \param resultFlag a reference to a flag that will be set to FALSE if
* we did not manage to load the default style.
* \returns a QString with any status messages
* \see also loadNamedStyle();
* \see loadNamedStyle()
*/
virtual QString loadDefaultStyle( bool &resultFlag SIP_OUT );

Expand All @@ -1053,7 +1054,7 @@ class CORE_EXPORT QgsMapLayer : public QObject
* we did not manage to load the default style.
* \param categories the style categories to be loaded.
* \returns a QString with any status messages
* \see also loadDefaultStyle ();
* \see loadDefaultStyle()
*/
virtual QString loadNamedStyle( const QString &uri, bool &resultFlag SIP_OUT, QgsMapLayer::StyleCategories categories = QgsMapLayer::AllStyleCategories );

Expand Down Expand Up @@ -1116,7 +1117,8 @@ class CORE_EXPORT QgsMapLayer : public QObject
* we did not manage to save the default style.
* \param categories the style categories to be saved (since QGIS 3.26)
* \returns a QString with any status messages
* \see loadNamedStyle() and \see saveNamedStyle()
* \see loadNamedStyle()
* \see saveNamedStyle()
*/
virtual QString saveDefaultStyle( bool &resultFlag SIP_OUT, StyleCategories categories );

Expand All @@ -1127,7 +1129,8 @@ class CORE_EXPORT QgsMapLayer : public QObject
* \param resultFlag a reference to a flag that will be set to FALSE if
* we did not manage to save the default style.
* \returns a QString with any status messages
* \see loadNamedStyle() and \see saveNamedStyle()
* \see loadNamedStyle()
* \see saveNamedStyle()
* \deprecated since QGIS 3.26
*/
Q_DECL_DEPRECATED virtual QString saveDefaultStyle( bool &resultFlag SIP_OUT ) SIP_DEPRECATED;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsdetaileditemdelegate.h
Expand Up @@ -32,7 +32,7 @@ class QFont;
* \ingroup gui
* \brief A custom model/view delegate that can display an icon, heading
* and detail sections.
* \see also QgsDetailedItemData
* \see QgsDetailedItemData
*/
class GUI_EXPORT QgsDetailedItemDelegate : public QAbstractItemDelegate
{
Expand Down
3 changes: 2 additions & 1 deletion src/gui/qgsdetaileditemwidget.h
Expand Up @@ -25,7 +25,8 @@
/**
* \ingroup gui
* \brief A widget renderer for detailed item views.
* \see also QgsDetailedItem and QgsDetailedItemData.
* \see QgsDetailedItem
* \see QgsDetailedItemData
*/
class GUI_EXPORT QgsDetailedItemWidget : public QWidget, private Ui::QgsDetailedItemWidgetBase
{
Expand Down

0 comments on commit f1f7b7a

Please sign in to comment.