code: def get_doc_links():
      """Returns a dictionary of function names -> upstream documentation link"""
      tadoc_homepage = "https://www.tadoc.org/"
      html_file_path = os.path.join(INPUT_DIR, ".tadoc.org.html")
      if os.path.exists(html_file_path):
          with open(html_file_path, "r") as f:
              html = f.read()
      else:
          if sys.version_info < (2, 8):
              from urllib2 import urlopen
          else:
              from urllib.request import urlopen
  
          html = urlopen(tadoc_homepage).read()
          with open(html_file_path, "wb") as f:
              f.write(html)
  
      # find every link that's for an indicator and convert to absolute urls
      soup = BeautifulSoup(html, "html.parser")
      links = [a for a in soup.findAll("a") if "indicator" in a["href"]]
      ret = {}
      for a in links:
          url = "".join([tadoc_homepage, a["href"]])
          func = url[url.rfind("/") + 1 : url.rfind(".")]
          ret[func] = url
      return ret
  
file_path: ta-lib-python/docs/generate_html_pages.py
imports: from __future__ import print_function
  import os
  import sys
  import talib
  import mistune
  from pygments import highlight
  from pygments.lexers import get_lexer_by_name
  from pygments.formatters.html import HtmlFormatter
  from bs4 import BeautifulSoup
  from talib.abstract import Function
label_desc: Use image node_id 2 for calling a global function with example usage: get_doc_links() and returns: ret