Skip to content

Commit

Permalink
adjust expected outputs to the latest Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Aug 18, 2023
1 parent b854f0c commit 7bf97cb
Show file tree
Hide file tree
Showing 7 changed files with 142 additions and 147 deletions.
12 changes: 5 additions & 7 deletions test/log.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0"?>
<div class="body" role="main">
<section id="invalid-domain-type">
<h1>Invalid domain type<a class="headerlink" href="#invalid-domain-type" title="Permalink to this heading">&#xB6;</a></h1>
<h1>Invalid domain type<a class="headerlink" href="#invalid-domain-type" title="Link to this heading">&#xB6;</a></h1>
</section>
<section id="invalid-signature">
<h1>Invalid signature<a class="headerlink" href="#invalid-signature" title="Permalink to this heading">&#xB6;</a></h1>
<h1>Invalid signature<a class="headerlink" href="#invalid-signature" title="Link to this heading">&#xB6;</a></h1>
<dl class="php method">
<dt class="sig sig-object php">
<span class="sig-name descname">
Expand All @@ -15,7 +15,7 @@ <h1>Invalid signature<a class="headerlink" href="#invalid-signature" title="Perm
</dl>
</section>
<section id="unresolved-references">
<h1>Unresolved references<a class="headerlink" href="#unresolved-references" title="Permalink to this heading">&#xB6;</a></h1>
<h1>Unresolved references<a class="headerlink" href="#unresolved-references" title="Link to this heading">&#xB6;</a></h1>
<ul class="simple">
<li>
<p>
Expand All @@ -32,8 +32,7 @@ <h1>Unresolved references<a class="headerlink" href="#unresolved-references" tit
</p>
</li>
</ul>
<span class="target" id="namespace-Foo"/>
<ul class="simple">
<ul class="simple" id="namespace-Foo">
<li>
<p>
<a class="reference internal" href="ns.html#Foo\A::simplify" title="Foo\A::simplify">
Expand All @@ -44,8 +43,7 @@ <h1>Unresolved references<a class="headerlink" href="#unresolved-references" tit
</p>
</li>
</ul>
<span class="target" id="namespace-Fooo"/>
<ul class="simple">
<ul class="simple" id="namespace-Fooo">
<li>
<p>
<a class="reference internal" href="ns.html#Foo\A::simplify" title="Foo\A::simplify">
Expand Down
8 changes: 4 additions & 4 deletions test/method.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<div class="body" role="main">
<section id="simple-method">
<h1>Simple method<a class="headerlink" href="#simple-method" title="Permalink to this heading">&#xB6;</a></h1>
<h1>Simple method<a class="headerlink" href="#simple-method" title="Link to this heading">&#xB6;</a></h1>
<dl class="php class">
<dt class="sig sig-object php" id="Foo">
<em class="property">
Expand All @@ -10,12 +10,12 @@ <h1>Simple method<a class="headerlink" href="#simple-method" title="Permalink to
<span class="sig-name descname">
<span class="pre">Foo</span>
</span>
<a class="headerlink" href="#Foo" title="Permalink to this definition">&#xB6;</a>
<a class="headerlink" href="#Foo" title="Link to this definition">&#xB6;</a>
</dt>
<dd/>
</dl>
<dl class="php method">
<dt class="sig sig-object php" id="Foo::test"><span class="sig-prename descclassname"><span class="pre">Foo::</span></span><span class="sig-name descname"><span class="pre">test</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="pre">$a</span></em>, <em class="sig-param"><span class="pre">...$args</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Foo::test" title="Permalink to this definition">&#xB6;</a></dt>
<dt class="sig sig-object php" id="Foo::test"><span class="sig-prename descclassname"><span class="pre">Foo::</span></span><span class="sig-name descname"><span class="pre">test</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="pre">$a</span></em>, <em class="sig-param"><span class="pre">...$args</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Foo::test" title="Link to this definition">&#xB6;</a></dt>
<dd>
<p>Simple test method.</p>
<dl class="field-list simple">
Expand All @@ -31,7 +31,7 @@ <h1>Simple method<a class="headerlink" href="#simple-method" title="Permalink to
</dd>
</dl>
<section id="cross-linking">
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Permalink to this heading">&#xB6;</a></h2>
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Link to this heading">&#xB6;</a></h2>
<ul class="simple">
<li>
<p>
Expand Down
28 changes: 13 additions & 15 deletions test/ns.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="body" role="main">
<section id="namespace-Foo">
<span id="simple-ns"/>
<h1>Simple NS<a class="headerlink" href="#namespace-Foo" title="Permalink to this heading">&#xB6;</a></h1>
<h1>Simple NS<a class="headerlink" href="#namespace-Foo" title="Link to this heading">&#xB6;</a></h1>
<dl class="php class">
<dt class="sig sig-object php" id="Foo\A">
<em class="property">
Expand All @@ -14,7 +14,7 @@ <h1>Simple NS<a class="headerlink" href="#namespace-Foo" title="Permalink to thi
<span class="sig-name descname">
<span class="pre">A</span>
</span>
<a class="headerlink" href="#Foo\A" title="Permalink to this definition">&#xB6;</a>
<a class="headerlink" href="#Foo\A" title="Link to this definition">&#xB6;</a>
</dt>
<dd/>
</dl>
Expand All @@ -28,12 +28,12 @@ <h1>Simple NS<a class="headerlink" href="#namespace-Foo" title="Permalink to thi
</span>
<span class="sig-paren">(</span>
<span class="sig-paren">)</span>
<a class="headerlink" href="#Foo\A::simplify" title="Permalink to this definition">&#xB6;</a>
<a class="headerlink" href="#Foo\A::simplify" title="Link to this definition">&#xB6;</a>
</dt>
<dd/>
</dl>
<section id="cross-linking">
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Permalink to this heading">&#xB6;</a></h2>
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Link to this heading">&#xB6;</a></h2>
<ul class="simple">
<li>
<p>
Expand All @@ -49,7 +49,7 @@ <h2>Cross linking<a class="headerlink" href="#cross-linking" title="Permalink to
</section>
<section id="namespace-Foo\Bar">
<span id="ns-can-be-changed"/>
<h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Permalink to this heading">&#xB6;</a></h1>
<h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Link to this heading">&#xB6;</a></h1>
<dl class="php class">
<dt class="sig sig-object php" id="Foo\Bar\A">
<em class="property">
Expand All @@ -61,7 +61,7 @@ <h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Perm
<span class="sig-name descname">
<span class="pre">A</span>
</span>
<a class="headerlink" href="#Foo\Bar\A" title="Permalink to this definition">&#xB6;</a>
<a class="headerlink" href="#Foo\Bar\A" title="Link to this definition">&#xB6;</a>
</dt>
<dd/>
</dl>
Expand All @@ -75,12 +75,11 @@ <h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Perm
</span>
<span class="sig-paren">(</span>
<span class="sig-paren">)</span>
<a class="headerlink" href="#Foo\Bar\A::simplify" title="Permalink to this definition">&#xB6;</a>
<a class="headerlink" href="#Foo\Bar\A::simplify" title="Link to this definition">&#xB6;</a>
</dt>
<dd/>
</dl>
<span class="target" id="namespace-Bar"/>
<dl class="php class">
<dl class="php class" id="namespace-Bar">
<dt class="sig sig-object php" id="Bar\A">
<em class="property">
<span class="pre">class</span>
Expand All @@ -91,7 +90,7 @@ <h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Perm
<span class="sig-name descname">
<span class="pre">A</span>
</span>
<a class="headerlink" href="#Bar\A" title="Permalink to this definition">&#xB6;</a>
<a class="headerlink" href="#Bar\A" title="Link to this definition">&#xB6;</a>
</dt>
<dd/>
</dl>
Expand All @@ -105,12 +104,12 @@ <h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Perm
</span>
<span class="sig-paren">(</span>
<span class="sig-paren">)</span>
<a class="headerlink" href="#Bar\A::simplify" title="Permalink to this definition">&#xB6;</a>
<a class="headerlink" href="#Bar\A::simplify" title="Link to this definition">&#xB6;</a>
</dt>
<dd/>
</dl>
<section id="id1">
<h2>Cross linking<a class="headerlink" href="#id1" title="Permalink to this heading">&#xB6;</a></h2>
<h2>Cross linking<a class="headerlink" href="#id1" title="Link to this heading">&#xB6;</a></h2>
<ul class="simple">
<li>
<p>
Expand Down Expand Up @@ -143,7 +142,7 @@ <h2>Cross linking<a class="headerlink" href="#id1" title="Permalink to this head
</section>
</section>
<section id="ns-must-not-be-guessed">
<h1>NS must not be guessed<a class="headerlink" href="#ns-must-not-be-guessed" title="Permalink to this heading">&#xB6;</a></h1>
<h1>NS must not be guessed<a class="headerlink" href="#ns-must-not-be-guessed" title="Link to this heading">&#xB6;</a></h1>
<div class="note docutils">
<p>These cross references must not have a link as the target methods are not defined.</p>
</div>
Expand All @@ -156,8 +155,7 @@ <h1>NS must not be guessed<a class="headerlink" href="#ns-must-not-be-guessed" t
</p>
</li>
</ul>
<span class="target" id="namespace-Bar2"/>
<ul class="simple">
<ul class="simple" id="namespace-Bar2">
<li>
<p>
<code class="xref php php-meth docutils literal notranslate">
Expand Down
Loading

0 comments on commit 7bf97cb

Please sign in to comment.