code: def run_apidoc(_):
      api_docs = os.path.join(
          os.path.abspath("./source/"), "generated_api"
      )
      argv = [
          "-f",
          "-o",
          api_docs,
          os.path.abspath("../nlp_architect/"),
      ]
  
      apidoc.main(argv)
      os.remove(os.path.join(api_docs, "modules.rst"))
      os.remove(os.path.join(api_docs, "nlp_architect.rst"))
  
imports: import os
  import sys
  import sphinx_rtd_theme
  from sphinx.ext import apidoc
  from nlp_architect.version import NLP_ARCHITECT_VERSION
label_desc: Use image node_id 1 for calling a global function with example usage: run_apidoc(_) without return types