mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
[pyqgis-console] fix link to c++ api doc
This commit is contained in:
parent
05368e4a89
commit
059d0e21c4
@ -624,7 +624,7 @@ class ShellScintilla(QsciScintilla, code.InteractiveInterpreter):
|
||||
if cmd == '_pyqgis':
|
||||
webbrowser.open("https://qgis.org/pyqgis/{}".format(version))
|
||||
elif cmd == '_api':
|
||||
webbrowser.open("https://qgis.org/api/{}".format(version))
|
||||
webbrowser.open("https://qgis.org/api/{}".format('' if version == 'master' else version))
|
||||
elif cmd == '_cookbook':
|
||||
webbrowser.open("https://docs.qgis.org/{}/en/docs/pyqgis_developer_cookbook/".format(
|
||||
'testing' if version == 'master' else version))
|
||||
|
Loading…
x
Reference in New Issue
Block a user