Skip to content

Commit cfc2c3e

Browse files
committed
Upgrade Sphinx to 3.0.0
It comes with some nice fixes: - genindex.html "abstract syntax" currently points to "https://webassembly.github.io/spec/core/appendix/implementation.html#index-1", which looks incorrect The different files are: $ diff -u -r _build/ _golden/ -q Files _build/core/appendix/index-instructions.html and _golden/core/appendix/index-instructions.html differ Files _build/core/bikeshed/index.html and _golden/core/bikeshed/index.html differ Files _build/core/_download/WebAssembly.pdf and _golden/core/_download/WebAssembly.pdf differ Files _build/core/genindex.html and _golden/core/genindex.html differ Files _build/core/objects.inv and _golden/core/objects.inv differ Files _build/core/search.html and _golden/core/search.html differ Files _build/core/searchindex.js and _golden/core/searchindex.js differ Files _build/core/_static/documentation_options.js and _golden/core/_static/documentation_options.js differ Files _build/core/_static/searchtools.js and _golden/core/_static/searchtools.js differ Files _build/js-api/index.html and _golden/js-api/index.html differ Files _build/web-api/index.html and _golden/web-api/index.html differ Most of the index.html are differences in meta content tag.
1 parent 0253366 commit cfc2c3e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ install:
2121
- opam --version
2222
- ocaml --version
2323
- opam install --yes ocamlbuild.0.14.0
24-
- pip install Sphinx==2.4.4
24+
- pip install Sphinx==3.0.0
2525
- git clone https://github.com/tabatkins/bikeshed.git
2626
- pip install --editable $PWD/bikeshed
2727
- bikeshed update

document/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pipenv shell
4242
Install Python dependencies:
4343

4444
```
45-
pipenv install Sphinx==2.4.4
45+
pipenv install Sphinx==3.0.0
4646
```
4747

4848
### Checking out the repository

document/core/util/mathdef.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from sphinx.ext.mathbase import math
21
from sphinx.directives.patches import MathDirective
32
from sphinx.util.texescape import tex_replace_map
43
from sphinx.writers.html5 import HTML5Translator
54
from sphinx.writers.latex import LaTeXTranslator
65
from docutils import nodes
6+
from docutils.nodes import math
77
from docutils.parsers.rst.directives.misc import Replace
88
from six import text_type
99
import re

document/core/util/mathdefbs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
# TODO(bradnelson): Figure out a way to merge this back into
44
# mathdef.py controlled by buildername.
55

6-
from sphinx.ext.mathbase import math
76
from sphinx.directives.patches import MathDirective
87
from sphinx.ext.mathjax import html_visit_math
98
from sphinx.ext.mathjax import html_visit_displaymath
109
from sphinx.writers.html5 import HTML5Translator
1110
from docutils import nodes
11+
from docutils.nodes import math
1212
from docutils.parsers.rst.directives.misc import Replace
1313
import re
1414

0 commit comments

Comments
 (0)