We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 067df25 commit fbe8459Copy full SHA for fbe8459
python/plugins/MetaSearch/util.py
@@ -133,7 +133,12 @@ def get_help_url():
133
"""return QGIS MetaSearch help documentation link"""
134
135
locale_name = QSettings().value('locale/userLocale')[0:2]
136
- version = QGis.QGIS_VERSION.rsplit('.', 1)[0]
+ major, minor = QGis.QGIS_VERSION.split('.')[:2]
137
+
138
+ if minor == '99': # master
139
+ version = 'testing'
140
+ else:
141
+ version = '.'.join([major, minor])
142
143
path = '%s/%s/docs/user_manual/plugins/plugins_metasearch.html' % \
144
(version, locale_name)
0 commit comments