code: def docs(ctx, clean=False, build=False, show=False, **kwargs):
      """make API documentation"""
      # Prepare
  
      if not (clean or build or show):
          sys.exit(
              'Task "docs" must be called with --clean, --build or --show'
          )
  
      if clean:
          sphinx_clean(DOC_BUILD_DIR)
  
      if build:
          sphinx_build(DOC_DIR, DOC_BUILD_DIR)
  
      if show:
          sphinx_show(os.path.join(DOC_BUILD_DIR, "html"))
  
file_path: imageio/tasks/docs.py
imports: import os
  import sys
  import os.path
  import shutil
  from invoke import task
  from ._config import DOC_DIR, DOC_BUILD_DIR
label_desc: Use image node_id 1 for calling a global function with example usage: docs(ctx, clean, build, show) without return types