code: def test_doc() -> None:
      import bokeh.command.subcommands as sc
  
      assert len(command.__doc__.split("\n")) == 5 + 3 * len(sc.all)
      for x in sc.all:
          assert (x.name + "\n    " + x.help) in command.__doc__
  
imports: from __future__ import annotations
  import pytest
  import bokeh.command
label_desc: Use image node_id 1 for calling a global function with example usage: test_doc() without return types