Skip to content

Commit 3edc07b

Browse files
committed
also versioning cookbook url
1 parent 8f5bde4 commit 3edc07b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎python/console/console_sci.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,8 @@ def runCommand(self, cmd):
626626
elif cmd == '_api':
627627
webbrowser.open("https://qgis.org/api/{}".format(version))
628628
elif cmd == '_cookbook':
629-
webbrowser.open("https://qgis.org/pyqgis-cookbook/")
629+
webbrowser.open("https://docs.qgis.org/{}/en/docs/pyqgis_developer_cookbook/".format(
630+
'testing' if version == 'master' else version))
630631
more = False
631632
else:
632633
self.buffer.append(cmd)

0 commit comments

Comments
 (0)