code: def build_command(clean, **kwargs):
      """Build the MkDocs documentation."""
      from mkdocs.commands import build
  
      _enable_warnings()
      cfg = config.load_config(**kwargs)
      cfg.plugins.on_startup(command="build", dirty=not clean)
      try:
          build.build(cfg, dirty=not clean)
      finally:
          cfg.plugins.on_shutdown()
  
imports: from __future__ import annotations
  import logging
  import os
  import shutil
  import sys
  import textwrap
  import traceback
  import warnings
  import click
  from mkdocs import __version__, config, utils
label_desc: Use image node_id 9 for calling a global function with example usage: build_command(clean) without return types