code: def get_igraph_version():
      """Get igraph version"""
      if rtd_version and rtd_version_type == "tag":
          return rtd_version
  
      version_file = get_igraphdir() / "version.py"
      with open(version_file, "rt") as f:
          version_info = (
              f.readline()
              .rstrip("\n")
              .split("=")[1]
              .strip()[1:-1]
              .split(", ")
          )
      version = ".".join(version_info)
  
      return version
  
file_path: python-igraph/doc/source/conf.py
imports: from datetime import datetime
  import sys
  import os
  import importlib
  from pathlib import Path
label_desc: Use image node_id 3 for calling a global function with example usage: get_igraph_version() and returns: version, rtd_version