Skip to content
Permalink
Browse files

also versioning cookbook url

  • Loading branch information
slarosa committed May 29, 2018
1 parent 8f5bde4 commit 3edc07b4c2ec292be63d6938df40dabe0b36b759
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/console/console_sci.py
@@ -626,7 +626,8 @@ def runCommand(self, cmd):
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)

0 comments on commit 3edc07b

Please sign in to comment.
You can’t perform that action at this time.