code: def test_show_hidden_option(show_hidden, style):
      @click.command()
      @click.option("--hidden", hidden=True)
      def _test_cmd(hidden):
          """Test cmd."""
  
      output = "\n".join(
          make_command_docs(
              "_test_cmd",
              _test_cmd,
              style=style,
              show_hidden=show_hidden,
          )
      )
      assert ("--hidden" in output) == show_hidden
  
imports: from textwrap import dedent
  from typing import cast
  import click
  import pytest
  from mkdocs_click._docs import _show_options, make_command_docs
  from mkdocs_click._exceptions import MkDocsClickException
label_desc: Use image node_id 15 for calling a global function with example usage: test_show_hidden_option(show_hidden, style) without return types