[Qgis-psc] PyQGIS documentation improvements - report

Julien Moura (Oslandia) julien.moura at oslandia.com
Mon Sep 16 08:22:12 PDT 2024


Thanks, it's really appreciated!

Le 16/09/2024 à 08:18, Marco Bernasocchi via QGIS-PSC a écrit :
> Thanks a lot Nyall for the great work
>
> Cheers Marco
>
> On Mon, 16 Sept 2024, 01:56 Nyall Dawson via QGIS-PSC, 
> <qgis-psc at lists.osgeo.org> wrote:
>
>     Hi PSC,
>
>     Thanks for the opportunity to do further work on the PyQGIS
>     documentation and further improve this vital resource. Here's a quick
>     summary of the improvements made during this round:
>
>     1. Correct documentation is now shown for signals. Previously, we'd
>     just get a generic useless string for all signals (see eg
>     https://qgis.org/pyqgis/3.34/core/QgsBookmarkManager.html#qgis.core.QgsBookmarkManager.bookmarkAboutToBeAdded
>     ). Now, the site shows the proper documentation and signature for all
>     signals. (Partially visible at
>     https://qgis.org/pyqgis/master/core/QgsBookmarkManager.html#qgis.core.QgsBookmarkManager.bookmarkAboutToBeAdded,
>     with the signature display pending the next scheduled weekly update of
>     the documentation site)
>
>     2. Overloaded method documentation is now correctly displayed. Compare
>     before (eg
>     https://web.archive.org/web/20230202072455/https://qgis.org/pyqgis/master/core/QgsLayoutExporter.html#qgis.core.QgsLayoutExporter.exportToPdf)
>     where the two exportToPdf methods are confusingly displayed, vs now:
>     https://qgis.org/pyqgis/master/core/QgsLayoutExporter.html#qgis.core.QgsLayoutExporter.exportToPdf
>     . This fix also ensures that the full parameters and return type
>     documentation are visible for all overloads.
>
>     3. Qt classes in the "base class" list and inheritance diagrams now
>     link across to the Qt docs. See eg
>     https://qgis.org/pyqgis/master/core/QgsFieldModel.html
>
>     4. Function objects are now properly documented, see eg
>     https://qgis.org/pyqgis/master/processing/createAlgorithmDialog.html
>
>     5. Attributes in structs are now correctly documented. See eg missing
>     documentation in
>     https://qgis.org/pyqgis/3.38/core/QgsLayoutExporter.html#qgis.core.QgsLayoutExporter.ImageExportSettings
>     . (The fixed documentation is pending the next weekly update)
>
>     Thanks again!
>     Nyall
>     _______________________________________________
>     QGIS-PSC mailing list
>     QGIS-PSC at lists.osgeo.org
>     https://lists.osgeo.org/mailman/listinfo/qgis-psc
>
>
> _______________________________________________
> QGIS-PSC mailing list
> QGIS-PSC at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-psc
-- 
Oslandia 
<https://oslandia.com/?utm_source=email&utm_campaign=signature_oslandia&utm_medium=email>- 
Geotribu 
<https://geotribu.fr/?utm_source=email&utm_campaign=signature_oslandia&utm_medium=email>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-psc/attachments/20240916/5e67297e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x5375CD81333F311E.asc
Type: application/pgp-keys
Size: 3154 bytes
Desc: OpenPGP public key
URL: <http://lists.osgeo.org/pipermail/qgis-psc/attachments/20240916/5e67297e/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: julien_moura.vcf
Type: text/vcard
Size: 273 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-psc/attachments/20240916/5e67297e/attachment-0001.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-psc/attachments/20240916/5e67297e/attachment-0001.sig>


More information about the QGIS-PSC mailing list