Skip to content

Commit 70b714b

Browse files
committed
Update documentation for plugin development guidelines
1 parent 7fce9e6 commit 70b714b

File tree

1 file changed

+31
-7
lines changed

1 file changed

+31
-7
lines changed

qgis-app/templates/flatpages/docs_publish.html

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,41 @@ <h4>Tips and Tricks</h4>
105105
`plugin`.
106106
</li>
107107
<li>
108-
Plugins should make use of QgsNetworkAccessManager instead of using
109-
urllib2/requests/etc... which often fail to use correct proxy settings.
108+
Plugins should make use of
109+
<a href="https://qgis.org/pyqgis/latest/core/QgsNetworkAccessManager.html">QgsNetworkAccessManager</a>
110+
instead of using urllib2/requests/etc... which often fail to use correct proxy settings.
111+
</li>
112+
<li>
113+
Plugins should make use of QGIS widgets, such as
114+
<a href="https://qgis.org/pyqgis/latest/gui/QgsMapLayerComboBox.html">QgsMapLayerComboBox</a>
115+
for a drop down menu with layers.
116+
Other widgets are available, check the <a href="https://qgis.org/pyqgis/latest/gui/index.html">list on the documentation</a>.
110117
</li>
111118
<li>
112119
The
113-
<a title="Plugin builder" href="/plugins/pluginbuilder3/"
114-
>plugin builder</a
120+
<a title="QGIS Plugin Templater GUI" href="/plugins/qgis_plugin_templater_gui/"
121+
>QGIS Plugin Templater GUI</a
122+
> or
123+
<a title="QGIS Minimal Plugin" href="https://github.com/wonder-sk/qgis-minimal-plugin"
124+
>QGIS Minimal Plugin</a
115125
>
116-
plugin is recommended, especially for new users.
117-
</li>
118-
</ul>
126+
are recommended.
127+
</li>
128+
<li>
129+
Experienced developers with quality standards for quality and tools and used to git workflow are encouraged to use
130+
one of the well-known <a title="Cookiecutter" href="https://cookiecutter.readthedocs.io/" target="_blank">Cookiecutter</a>
131+
templates:
132+
<ul>
133+
<li>
134+
<a title="QGIS Plugin Templater" href="https://oslandia.gitlab.io/qgis/template-qgis-plugin/" target="_blank">QGIS Plugin Templater</a>
135+
(used behind the scenes of the plugin listed above)
136+
</li>
137+
<li>
138+
<a title="Cookiecutter QGIS Plugin" href="https://github.com/GispoCoding/cookiecutter-qgis-plugin" target="_blank">Cookiecutter QGIS Plugin</a>
139+
</li>
140+
</ul>
141+
</li>
142+
</ul>
119143
<div
120144
id="_mcePaste"
121145
class="mcePaste"

0 commit comments

Comments
 (0)