code: def convert_nb(nbname):
      # Execute the notebook
      sh(
          [
              "jupyter",
              "nbconvert",
              "--to",
              "notebook",
              "--execute",
              "--inplace",
              "--ExecutePreprocessor.timeout=60",
              nbname + ".ipynb",
          ]
      )
  
      # Convert to .rst for Sphinx
      sh(["jupyter", "nbconvert", "--to", "rst", nbname + ".ipynb"])
  
      # Clear notebook output
      sh(
          [
              "jupyter",
              "nbconvert",
              "--to",
              "notebook",
              "--inplace",
              "--ClearOutputPreprocessor.enabled=True",
              nbname + ".ipynb",
          ]
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: convert_nb(nbname) without return types