17 lines
No EOL
522 B
Python
17 lines
No EOL
522 B
Python
import bpy
|
|
|
|
class GB_OT_readthedocs(bpy.types.Operator):
|
|
"""Check online documentation about the addon"""
|
|
|
|
bl_idname="gb.readthedocs"
|
|
bl_label="Online documentation"
|
|
bl_description="Go to Godot bridge documentation"
|
|
bl_options= {"REGISTER", "UNDO"}
|
|
|
|
def invoke (self, context, event):
|
|
return self.execute(context)
|
|
|
|
def execute(self, context):
|
|
bpy.ops.wm.url_open("INVOKE_DEFAULT", url="https://git.numenaute.org/YannK/Godot_bridge_docs")
|
|
return {"FINISHED"}
|
|
|