Skip to content

Commit 5928e1c

Browse files
committed
adjust expected outputs to the latest Sphinx
1 parent a103f44 commit 5928e1c

7 files changed

+142
-147
lines changed

test/log.html

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0"?>
22
<div class="body" role="main">
33
<section id="invalid-domain-type">
4-
<h1>Invalid domain type<a class="headerlink" href="#invalid-domain-type" title="Permalink to this heading">&#xB6;</a></h1>
4+
<h1>Invalid domain type<a class="headerlink" href="#invalid-domain-type" title="Link to this heading">&#xB6;</a></h1>
55
</section>
66
<section id="invalid-signature">
7-
<h1>Invalid signature<a class="headerlink" href="#invalid-signature" title="Permalink to this heading">&#xB6;</a></h1>
7+
<h1>Invalid signature<a class="headerlink" href="#invalid-signature" title="Link to this heading">&#xB6;</a></h1>
88
<dl class="php method">
99
<dt class="sig sig-object php">
1010
<span class="sig-name descname">
@@ -15,7 +15,7 @@ <h1>Invalid signature<a class="headerlink" href="#invalid-signature" title="Perm
1515
</dl>
1616
</section>
1717
<section id="unresolved-references">
18-
<h1>Unresolved references<a class="headerlink" href="#unresolved-references" title="Permalink to this heading">&#xB6;</a></h1>
18+
<h1>Unresolved references<a class="headerlink" href="#unresolved-references" title="Link to this heading">&#xB6;</a></h1>
1919
<ul class="simple">
2020
<li>
2121
<p>
@@ -32,8 +32,7 @@ <h1>Unresolved references<a class="headerlink" href="#unresolved-references" tit
3232
</p>
3333
</li>
3434
</ul>
35-
<span class="target" id="namespace-Foo"/>
36-
<ul class="simple">
35+
<ul class="simple" id="namespace-Foo">
3736
<li>
3837
<p>
3938
<a class="reference internal" href="ns.html#Foo\A::simplify" title="Foo\A::simplify">
@@ -44,8 +43,7 @@ <h1>Unresolved references<a class="headerlink" href="#unresolved-references" tit
4443
</p>
4544
</li>
4645
</ul>
47-
<span class="target" id="namespace-Fooo"/>
48-
<ul class="simple">
46+
<ul class="simple" id="namespace-Fooo">
4947
<li>
5048
<p>
5149
<a class="reference internal" href="ns.html#Foo\A::simplify" title="Foo\A::simplify">

test/method.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<div class="body" role="main">
33
<section id="simple-method">
4-
<h1>Simple method<a class="headerlink" href="#simple-method" title="Permalink to this heading">&#xB6;</a></h1>
4+
<h1>Simple method<a class="headerlink" href="#simple-method" title="Link to this heading">&#xB6;</a></h1>
55
<dl class="php class">
66
<dt class="sig sig-object php" id="Foo">
77
<em class="property">
@@ -10,12 +10,12 @@ <h1>Simple method<a class="headerlink" href="#simple-method" title="Permalink to
1010
<span class="sig-name descname">
1111
<span class="pre">Foo</span>
1212
</span>
13-
<a class="headerlink" href="#Foo" title="Permalink to this definition">&#xB6;</a>
13+
<a class="headerlink" href="#Foo" title="Link to this definition">&#xB6;</a>
1414
</dt>
1515
<dd/>
1616
</dl>
1717
<dl class="php method">
18-
<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>
18+
<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>
1919
<dd>
2020
<p>Simple test method.</p>
2121
<dl class="field-list simple">
@@ -31,7 +31,7 @@ <h1>Simple method<a class="headerlink" href="#simple-method" title="Permalink to
3131
</dd>
3232
</dl>
3333
<section id="cross-linking">
34-
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Permalink to this heading">&#xB6;</a></h2>
34+
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Link to this heading">&#xB6;</a></h2>
3535
<ul class="simple">
3636
<li>
3737
<p>

test/ns.html

+13-15
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="body" role="main">
33
<section id="namespace-Foo">
44
<span id="simple-ns"/>
5-
<h1>Simple NS<a class="headerlink" href="#namespace-Foo" title="Permalink to this heading">&#xB6;</a></h1>
5+
<h1>Simple NS<a class="headerlink" href="#namespace-Foo" title="Link to this heading">&#xB6;</a></h1>
66
<dl class="php class">
77
<dt class="sig sig-object php" id="Foo\A">
88
<em class="property">
@@ -14,7 +14,7 @@ <h1>Simple NS<a class="headerlink" href="#namespace-Foo" title="Permalink to thi
1414
<span class="sig-name descname">
1515
<span class="pre">A</span>
1616
</span>
17-
<a class="headerlink" href="#Foo\A" title="Permalink to this definition">&#xB6;</a>
17+
<a class="headerlink" href="#Foo\A" title="Link to this definition">&#xB6;</a>
1818
</dt>
1919
<dd/>
2020
</dl>
@@ -28,12 +28,12 @@ <h1>Simple NS<a class="headerlink" href="#namespace-Foo" title="Permalink to thi
2828
</span>
2929
<span class="sig-paren">(</span>
3030
<span class="sig-paren">)</span>
31-
<a class="headerlink" href="#Foo\A::simplify" title="Permalink to this definition">&#xB6;</a>
31+
<a class="headerlink" href="#Foo\A::simplify" title="Link to this definition">&#xB6;</a>
3232
</dt>
3333
<dd/>
3434
</dl>
3535
<section id="cross-linking">
36-
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Permalink to this heading">&#xB6;</a></h2>
36+
<h2>Cross linking<a class="headerlink" href="#cross-linking" title="Link to this heading">&#xB6;</a></h2>
3737
<ul class="simple">
3838
<li>
3939
<p>
@@ -49,7 +49,7 @@ <h2>Cross linking<a class="headerlink" href="#cross-linking" title="Permalink to
4949
</section>
5050
<section id="namespace-Foo\Bar">
5151
<span id="ns-can-be-changed"/>
52-
<h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Permalink to this heading">&#xB6;</a></h1>
52+
<h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Link to this heading">&#xB6;</a></h1>
5353
<dl class="php class">
5454
<dt class="sig sig-object php" id="Foo\Bar\A">
5555
<em class="property">
@@ -61,7 +61,7 @@ <h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Perm
6161
<span class="sig-name descname">
6262
<span class="pre">A</span>
6363
</span>
64-
<a class="headerlink" href="#Foo\Bar\A" title="Permalink to this definition">&#xB6;</a>
64+
<a class="headerlink" href="#Foo\Bar\A" title="Link to this definition">&#xB6;</a>
6565
</dt>
6666
<dd/>
6767
</dl>
@@ -75,12 +75,11 @@ <h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Perm
7575
</span>
7676
<span class="sig-paren">(</span>
7777
<span class="sig-paren">)</span>
78-
<a class="headerlink" href="#Foo\Bar\A::simplify" title="Permalink to this definition">&#xB6;</a>
78+
<a class="headerlink" href="#Foo\Bar\A::simplify" title="Link to this definition">&#xB6;</a>
7979
</dt>
8080
<dd/>
8181
</dl>
82-
<span class="target" id="namespace-Bar"/>
83-
<dl class="php class">
82+
<dl class="php class" id="namespace-Bar">
8483
<dt class="sig sig-object php" id="Bar\A">
8584
<em class="property">
8685
<span class="pre">class</span>
@@ -91,7 +90,7 @@ <h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Perm
9190
<span class="sig-name descname">
9291
<span class="pre">A</span>
9392
</span>
94-
<a class="headerlink" href="#Bar\A" title="Permalink to this definition">&#xB6;</a>
93+
<a class="headerlink" href="#Bar\A" title="Link to this definition">&#xB6;</a>
9594
</dt>
9695
<dd/>
9796
</dl>
@@ -105,12 +104,12 @@ <h1>NS can be changed<a class="headerlink" href="#namespace-Foo\Bar" title="Perm
105104
</span>
106105
<span class="sig-paren">(</span>
107106
<span class="sig-paren">)</span>
108-
<a class="headerlink" href="#Bar\A::simplify" title="Permalink to this definition">&#xB6;</a>
107+
<a class="headerlink" href="#Bar\A::simplify" title="Link to this definition">&#xB6;</a>
109108
</dt>
110109
<dd/>
111110
</dl>
112111
<section id="id1">
113-
<h2>Cross linking<a class="headerlink" href="#id1" title="Permalink to this heading">&#xB6;</a></h2>
112+
<h2>Cross linking<a class="headerlink" href="#id1" title="Link to this heading">&#xB6;</a></h2>
114113
<ul class="simple">
115114
<li>
116115
<p>
@@ -143,7 +142,7 @@ <h2>Cross linking<a class="headerlink" href="#id1" title="Permalink to this head
143142
</section>
144143
</section>
145144
<section id="ns-must-not-be-guessed">
146-
<h1>NS must not be guessed<a class="headerlink" href="#ns-must-not-be-guessed" title="Permalink to this heading">&#xB6;</a></h1>
145+
<h1>NS must not be guessed<a class="headerlink" href="#ns-must-not-be-guessed" title="Link to this heading">&#xB6;</a></h1>
147146
<div class="note docutils">
148147
<p>These cross references must not have a link as the target methods are not defined.</p>
149148
</div>
@@ -156,8 +155,7 @@ <h1>NS must not be guessed<a class="headerlink" href="#ns-must-not-be-guessed" t
156155
</p>
157156
</li>
158157
</ul>
159-
<span class="target" id="namespace-Bar2"/>
160-
<ul class="simple">
158+
<ul class="simple" id="namespace-Bar2">
161159
<li>
162160
<p>
163161
<code class="xref php php-meth docutils literal notranslate">

0 commit comments

Comments
 (0)