Skip to content

Commit

Permalink
Backport fixes to build 3.34 docs (#9203)
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored Aug 15, 2024
2 parents 7199910 + 4eb9e9e commit d1ceca5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ def calculate_tx_slug(filepath):
This page is currently translated at |translation progress|.
"""

# A list of warning codes to suppress arbitrary warning messages.
suppress_warnings = ["config.cache"]

# -- Options for LaTeX output --------------------------------------------------

latex_engine = 'xelatex'
Expand Down
6 changes: 3 additions & 3 deletions docs/pyqgis_developer_cookbook/vector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ explains how to do :ref:`modifications with editing buffer <editing-buffer>`.
Add Features
------------

Create some :class:`QgsFeature <qgis.core.QgsFeature>` instances and pass a list of them to provider's
:meth:`addFeatures() <qgis.core.QgsVectorDataProvider.addFeatures>` method. It will return two values:
Create some :class:`QgsFeature <qgis.core.QgsFeature>` instances and pass a list of them to the provider
:class:`QgsVectorDataProvider <qgis.core.QgsVectorDataProvider>` ``addFeatures()`` method. It will return two values:
result (:const:`True` or :const:`False`) and
list of added features (their ID is set by the data store).

Expand Down Expand Up @@ -733,7 +733,7 @@ There are several ways to generate a vector layer dataset:
call to :meth:`writeAsVectorFormatV3()
<qgis.core.QgsVectorFileWriter.writeAsVectorFormatV3>` which saves the whole
vector layer or creating an instance of the class and issue calls to
:meth:`addFeature() <qgis.core.QgsVectorFileWriter.addFeature>`. This class
inherited :meth:`addFeature() <qgis.core.QgsFeatureSink.addFeature>`. This class
supports all the vector formats that GDAL supports (GeoPackage, Shapefile,
GeoJSON, KML and others).
* the :class:`QgsVectorLayer <qgis.core.QgsVectorLayer>` class: instantiates
Expand Down

0 comments on commit d1ceca5

Please sign in to comment.