Switch from recommonmark to myst-parser

It's the *future* and fixes a doc build error.

Related to https://github.com/readthedocs/recommonmark/issues/221
This commit is contained in:
Scott Shawcroft 2021-05-05 15:25:37 -07:00
parent 3dad2cbb56
commit c34ddf14d6
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
3 changed files with 6 additions and 4 deletions

View File

@ -25,7 +25,6 @@ import sys
import urllib.parse
import time
import recommonmark
from sphinx.transforms import SphinxTransform
from docutils import nodes
from sphinx import addnodes
@ -68,8 +67,9 @@ extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx_search.extension',
'rstjinja',
'recommonmark',
'myst_parser',
]
# Add any paths that contain templates here, relative to this directory.

View File

@ -1,7 +1,8 @@
sphinx<4
recommonmark==0.6.0
myst-parser==0.14.0
sphinxcontrib-svg2pdfconverter==0.1.0
astroid
sphinx-autoapi
isort
black
readthedocs-sphinx-search

View File

@ -15,9 +15,10 @@ cpp-coveralls
# For docs
Sphinx<4
sphinx-rtd-theme
recommonmark
myst-parser
sphinx-autoapi
sphinxcontrib-svg2pdfconverter
readthedocs-sphinx-search
# For translate check
polib