Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- run: pip install bikeshed && bikeshed update
- run: pip install six
- run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- run: pip install sphinx==3.5.4
- run: pip install sphinx==4.0.0
- run: cd document/core && make all
- uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion document/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pipenv shell
Install Python dependencies:

```
pipenv install Sphinx==3.5.4
pipenv install Sphinx==4.0.0
```

### Checking out the repository
Expand Down
9 changes: 5 additions & 4 deletions document/core/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,9 @@
.. include:: /""" + pwd + """/util/macros.def
"""

# https://www.sphinx-doc.org/en/master/usage/extensions/math.html#confval-mathjax_config
# http://docs.mathjax.org/en/v2.7-latest/options/input-processors/TeX.html
mathjax_config = {
'TeX': { 'MAXBUFFER': 30*1024 },
# https://www.sphinx-doc.org/en/master/usage/extensions/math.html#confval-mathjax3_config
# https://docs.mathjax.org/en/latest/web/configuration.html#configuration
# https://docs.mathjax.org/en/latest/options/input/tex.html#tex-maxbuffer
mathjax3_config = {
'tex': { 'maxBuffer': 30*1024 },
}
2 changes: 1 addition & 1 deletion document/core/util/bikeshed/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
assert(main_macros_def in rst_prolog)
rst_prolog = rst_prolog.replace(main_macros_def, "/" + pwd + "/util/macros.def")

del mathjax_config
del mathjax3_config