While trying to run your tests on debian they actually fail.
diff -u test_doc2.html _build/html/test_doc2.html.result
--- test_doc2.html 2025-02-04 08:16:51.650738678 +0000
+++ _build/html/test_doc2.html.result 2025-02-04 08:41:55.097599485 +0000
@@ -95,14 +95,17 @@
</dd>
</dl>
<dl class="php class">
- <dt class="sig sig-object php" id="LibraryName\Foo\Data\Thing">
+ <dt class="sig sig-object php" id="LibraryName\\Foo\Data\Thing">
<em class="property">
<span class="pre">class</span>
</em>
+ <span class="sig-prename descclassname">
+ <span class="pre">LibraryName\</span>
+ </span>
<span class="sig-name descname">
- <span class="pre">Foo\Data\Thing</span>
+ <span class="pre">\Foo\Data\Thing</span>
</span>
- <a class="headerlink" href="#LibraryName\Foo\Data\Thing" title="Link to this definition">¶</a>
+ <a class="headerlink" href="#LibraryName\\Foo\Data\Thing" title="Link to this definition">¶</a>
</dt>
<dd>
<p>A class is with an absolute namespace.</p>
@@ -127,11 +130,9 @@
<span class="pre">LibraryName\ThirdClass</span>
</code>
</a>
- <a class="reference internal" href="#LibraryName\Foo\Data\Thing" title="LibraryName\Foo\Data\Thing">
- <code class="xref php php-class docutils literal notranslate">
- <span class="pre">Foo\Data\Thing</span>
- </code>
- </a>
+ <code class="xref php php-class docutils literal notranslate">
+ <span class="pre">Foo\Data\Thing</span>
+ </code>
</p>
</section>
</section>
While trying to run your tests on debian they actually fail.
make -C test/unit clean make -C test/unit html SPHINXOPTS='-W' make -C test/unit comparehtmlThere is this diff