code: def _from_notebook_node(self, nb, resources, **kwargs):
      filters = [
          RTDUrlPreprocessor(),
      ]
      for f in filters:
          nb, resources = f.preprocess(nb, resources=resources)
  
      return nbsphinx_from_notebook_node(
          self, nb, resources=resources, **kwargs
      )
  
file_path: scikit-survival/doc/conf.py
imports: from datetime import datetime
  from importlib.metadata import version
  import inspect
  import os
  from pathlib import Path
  import re
  import sys
  from nbconvert.preprocessors import Preprocessor
  import nbsphinx
  import sksurv
label_desc: Use image node_id 2 for calling a global function with example usage: _from_notebook_node(nb, resources) and returns: nbsphinx_from_notebook_node