qgis / pyqgis-api-docs-builder

Sphinx project to build python API documentation for QGIS
https://qgis.org/pyqgis/master/
GNU General Public License v2.0
86 stars 31 forks source link

Skip overriden qt methods #153

Closed nyalldawson closed 1 month ago

nyalldawson commented 1 month ago

Avoids base PyQt methods showing QObject/QWidget methods for all subclasses, when there's no overrides or docstrings added in the derived PyQGIS class. This avoids cluttering up the class pages with a bunch of low-level methods.

Compare eg current docs for QgsMapLayerComboBox vs after:

image

After:

image

Fixes qgis/QGIS#52250

DelazJ commented 1 month ago

Fixes https://github.com/qgis/QGIS/issues/52250?

nyalldawson commented 1 month ago

@DelazJ yes, correct

DelazJ commented 1 month ago

OK. Added to the PR message to have it closed.