eric6/MicroPython/MicroPythonDevices.py

changeset 7161
728018c32b09
parent 7145
ceb3e8b242c1
child 7229
53054eb5b15a
--- a/eric6/MicroPython/MicroPythonDevices.py	Fri Aug 23 13:23:36 2019 +0200
+++ b/eric6/MicroPython/MicroPythonDevices.py	Fri Aug 23 14:49:59 2019 +0200
@@ -337,3 +337,22 @@
         @rtype bool
         """
         return True
+    
+    def hasDocumentationUrl(self):
+        """
+        Public method to check, if the device has a configured documentation
+        URL.
+        
+        @return flag indicating a configured documentation URL
+        @rtype bool
+        """
+        return bool(self.getDocumentationUrl())
+    
+    def getDocumentationUrl(self):
+        """
+        Public method to get the device documentation URL.
+        
+        @return documentation URL of the device
+        @rtype str
+        """
+        return ""

eric ide

mercurial