code: def _documented(rst_path):
      documented = set()
      with open(rst_path) as rst_file:
          for line in rst_file:
              match = doc_re.match(line.rstrip())
              if match:
                  directive = match.group(1)
                  symbol = match.group(2)
                  if directive not in ["module", "ipython"]:
                      documented.add(symbol)
          return documented
  
label_desc: Use image node_id 1 for calling a global function with example usage: _documented(rst_path) and returns: documented