--- a/eric6/MicroPython/EspDevices.py Fri Aug 23 13:23:36 2019 +0200 +++ b/eric6/MicroPython/EspDevices.py Fri Aug 23 14:49:59 2019 +0200 @@ -22,6 +22,8 @@ from .MicroPythonDevices import MicroPythonDevice from .MicroPythonWidget import HAS_QTCHART +import Preferences + class EspDevice(MicroPythonDevice): """ @@ -224,3 +226,12 @@ """ pip = e5App().getObject("Pip") pip.installPackages(["esptool"], interpreter=sys.executable) + + def getDocumentationUrl(self): + """ + Public method to get the device documentation URL. + + @return documentation URL of the device + @rtype str + """ + return Preferences.getMicroPython("MicroPythonDocuUrl")