code: def test_all(app, status, warning):
      app.build(force_all=True)
      assert (app.outdir / "sphinxtests.1").exists()
  
      content = (app.outdir / "sphinxtests.1").read_text(
          encoding="utf8"
      )
      assert r"\fBprint \fP\fIi\fP\fB\en\fP" in content
      assert r"\fBmanpage\en\fP" in content
  
      # heading (title + description)
      assert r"sphinxtests \- Sphinx <Tests> 0.6alpha1" in content
  
      # term of definition list including nodes.strong
      assert "\n.B term1\n" in content
      assert "\nterm2 (\\fBstronged partially\\fP)\n" in content
  
      # test samp with braces
      assert "\n\\fIvariable_only\\fP\n" in content
      assert "\n\\fIvariable\\fP\\fB and text\\fP\n" in content
      assert (
          "\n\\fBShow \\fP\\fIvariable\\fP\\fB in the middle\\fP\n"
          in content
      )
  
      assert "Footnotes" not in content
  
file_path: sphinx/tests/test_builders/test_build_manpage.py
imports: import docutils
  import pytest
  from sphinx.builders.manpage import default_man_pages
  from sphinx.config import Config
label_desc: Use image node_id 1 for calling a global function with example usage: test_all(app, status, warning) without return types