code: def test_api_gen(self):
      build_api_docs.execute(
          output_dir=self.workdir,
          code_url_prefix="",
          search_hints=True,
          site_path="datasets/api_docs/python",
      )
  
      # Check that the "defined in" section is working
      with open(os.path.join(self.workdir, "tfds.md")) as f:
          content = f.read()
      self.assertIn("__init__.py", content)
  
      # Check that the `testing` folder is generated.
      with open(os.path.join(self.workdir, "tfds/testing.md")) as f:
          content = f.read()
      self.assertIn("__init__.py", content)
  
file_path: datasets/tensorflow_datasets/scripts/documentation/build_api_docs_test.py
imports: import os
  import shutil
  import tempfile
  from absl.testing import absltest
  from tensorflow_datasets.core.utils import docs
  from tensorflow_datasets.scripts.documentation import build_api_docs
label_desc: Use image node_id 2 for calling the BuildDocsTest obj's underlying member method code with example usage: obj.test_api_gen() without return types