Skip to content

Commit 0e75f6e

Browse files
committedMay 27, 2018
Don't indent multiline versionadded/deprecated tags
Turns out there isn't any valid ones anyway - the only multiline versionadded tags are due to incorrect ordering of brief/since tags (which is fixed in a different PR)
1 parent 9f650fe commit 0e75f6e

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed
 

‎python/analysis/auto_generated/network/qgsgraph.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class QgsGraphEdge
1616
%Docstring
1717

1818
.. versionadded:: 3.0
19-
This class implements a graph edge
19+
This class implements a graph edge
2020
%End
2121

2222
%TypeHeaderCode

‎python/analysis/auto_generated/network/qgsnetworkdistancestrategy.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class QgsNetworkDistanceStrategy : QgsNetworkStrategy
1313
%Docstring
1414

1515
.. versionadded:: 3.0
16-
Strategy for caclulating edge cost based on its length. Should be
16+
Strategy for caclulating edge cost based on its length. Should be
1717
used for finding shortest path between two points.
1818
%End
1919

‎python/analysis/auto_generated/network/qgsnetworkstrategy.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class QgsNetworkStrategy
2020
%Docstring
2121

2222
.. versionadded:: 3.0
23-
QgsNetworkStrategy defines strategy used for calculation of the edge cost. For example it can
23+
QgsNetworkStrategy defines strategy used for calculation of the edge cost. For example it can
2424
take into account travel distance, amount of time or money. Currently there are two strategies
2525
implemented in the analysis library: QgsNetworkDistanceStrategy and QgsNetworkSpeedStrategy.
2626
QgsNetworkStrategy implemented using "strategy" design pattern.

‎python/analysis/auto_generated/network/qgsvectorlayerdirector.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class QgsVectorLayerDirector : QgsGraphDirector
1515
%Docstring
1616

1717
.. versionadded:: 3.0
18-
Determine making the graph from vector line layer
18+
Determine making the graph from vector line layer
1919
%End
2020

2121
%TypeHeaderCode

‎python/analysis/auto_generated/processing/qgsnativealgorithms.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class QgsNativeAlgorithms: QgsProcessingProvider
1414
%Docstring
1515

1616
.. versionadded:: 3.0
17-
Native c++ processing algorithm provider.
17+
Native c++ processing algorithm provider.
1818
%End
1919

2020
%TypeHeaderCode

‎python/core/auto_generated/qgsmaprendererjob.sip.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,18 @@ This should not be used if cached labeling was redrawn - see usedCachedLabels().
9999
%Docstring
100100

101101
.. versionadded:: 3.0
102-
Set the feature filter provider used by the QgsRenderContext of
103-
each LayerRenderJob.
104-
Ownership is not transferred and the provider must not be deleted
105-
before the render job.
102+
Set the feature filter provider used by the QgsRenderContext of
103+
each LayerRenderJob.
104+
Ownership is not transferred and the provider must not be deleted
105+
before the render job.
106106
%End
107107

108108
const QgsFeatureFilterProvider *featureFilterProvider() const;
109109
%Docstring
110110

111111
.. versionadded:: 3.0
112-
Returns the feature filter provider used by the QgsRenderContext of
113-
each LayerRenderJob.
112+
Returns the feature filter provider used by the QgsRenderContext of
113+
each LayerRenderJob.
114114
%End
115115

116116
struct Error

‎python/gui/auto_generated/qgsmaplayerconfigwidgetfactory.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class QgsMapLayerConfigWidgetFactory
1414
%Docstring
1515

1616
.. versionadded:: 2.16
17-
Factory class for creating custom map layer property pages
17+
Factory class for creating custom map layer property pages
1818
%End
1919

2020
%TypeHeaderCode

‎scripts/sipify.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ sub processDoxygenLine {
217217
return "";
218218
}
219219
if ( $line =~ m/\\since .*?([\d\.]+)/i ) {
220-
$INDENT = ' ';
220+
$INDENT = '';
221221
return "\n.. versionadded:: $1\n";
222222
}
223223
if ( $line =~ m/\\deprecated (.*)/i ) {
224-
$INDENT = ' ';
224+
$INDENT = '';
225225
return "\n.. deprecated:: $1\n";
226226
}
227227

0 commit comments

Comments
 (0)
Please sign in to comment.