Use goto definition of keys to go to documentation
Maybe download and display real HTML or just link to homepage.
Most times the hints are not information enough and thus people need to read the real documentation. But especially learning from skins going there manually is very cumbersome.
Clicking on a GraphStart could directly either open https://docs.rainmeter.net/manual-beta/meters/histogram/#GraphStart in the browser or make a mirror on each start and handle the rendering manually in sublime text.
The default goto definition can not be overwritten with own behaviour. It uses the indexed symbol system to navigate around in the project.
connection check requires something like
import http.client
conn = http.client.HTTPSConnection("docs.rainmeter.net", timeout=1)
conn.request("HEAD", "/manual-beta/")
response = conn.getresponse()
print(response.status, response.reason)
this but it can throw random exceptions depending on the error. Probably just wrapping it into try catch should do it
could throw:
- https://docs.python.org/3.3/library/socket.html#socket.gaierror
- https://docs.python.org/3.3/library/http.client.html#http.client.HTTPException
I am not aware of others..