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"}