mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
also versioning cookbook url
This commit is contained in:
parent
8f5bde40cf
commit
3edc07b4c2
@ -626,7 +626,8 @@ class ShellScintilla(QsciScintilla, code.InteractiveInterpreter):
|
||||
elif cmd == '_api':
|
||||
webbrowser.open("https://qgis.org/api/{}".format(version))
|
||||
elif cmd == '_cookbook':
|
||||
webbrowser.open("https://qgis.org/pyqgis-cookbook/")
|
||||
webbrowser.open("https://docs.qgis.org/{}/en/docs/pyqgis_developer_cookbook/".format(
|
||||
'testing' if version == 'master' else version))
|
||||
more = False
|
||||
else:
|
||||
self.buffer.append(cmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user