Godot_bridge/addon/operators/readthedocs.py
2023-03-29 12:43:53 +02:00

17 lines
No EOL
540 B
Python

import bpy
class KH_OT_readthedocs(bpy.types.Operator):
"""Check online documentation for development"""
bl_idname="kh.readthedocs"
bl_label="Online documentation"
bl_description="Go to Khanat Development Guide"
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/khaganat/mmorpg_khanat/khanat_gamedev_guide")
return {"FINISHED"}