File tree 2 files changed +5
-14
lines changed
2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,11 @@ WebAssembly Specification
29
29
appendix/index-instructions
30
30
appendix/index-rules
31
31
32
- .. only :: html
32
+ ..
33
+ Only include these links when using (multi-page) html builder.
34
+ (The singlepage html builder is called builder_singlehtml.)
35
+
36
+ .. only :: builder_html
33
37
34
38
* :ref: `index-type `
35
39
* :ref: `index-instr `
Original file line number Diff line number Diff line change @@ -160,19 +160,6 @@ def ExtractMath(match):
160
160
data = data .replace (
161
161
'<li class="nav-item nav-item-0"><a href="index.html#document-index">'
162
162
'WebAssembly 1.0</a> »' , '' )
163
- # Drop Index links.
164
- data = data .replace (
165
- '<li><a class="reference internal" href="index.html#index-type">'
166
- '<span class="std std-ref">Index of Types</span></a>' , '' )
167
- data = data .replace (
168
- '<li><a class="reference internal" href="index.html#index-instr">'
169
- '<span class="std std-ref">Index of Instructions</span></a>' , '' )
170
- data = data .replace (
171
- '<li><a class="reference internal" href="index.html#index-rules">'
172
- '<span class="std std-ref">Index of Semantic Rules</span></a>' , '' )
173
- data = data .replace (
174
- '<li><a class="reference internal" href="genindex.html">'
175
- '<span class="std std-ref">Index</span></a>' , '' )
176
163
# Drop sphinx css.
177
164
data = data .replace (
178
165
'<link href="_static/classic.css" rel="stylesheet" type="text/css">' , '' )
You can’t perform that action at this time.
0 commit comments