Skip to content

Commit 6afb284

Browse files
authored
documentation: change to myst-parser (#102)
No longer use abandoned `recommonmark`
1 parent b0f1236 commit 6afb284

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

doc/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
'sphinx.ext.autosummary',
5151
'sphinx.ext.intersphinx',
5252
'sphinx.ext.viewcode',
53-
'recommonmark',
53+
'myst_parser',
5454
'sphinx_markdown_tables',
5555
'nbsphinx',
5656
]
@@ -99,10 +99,6 @@
9999
# ignore numpy warnings
100100
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
101101
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
102-
# ignore recommonmark warnings
103-
# https://github.com/readthedocs/recommonmark/issues/177
104-
warnings.filterwarnings("ignore",
105-
message="Container node skipped: type=document")
106102

107103
# -- Options for HTML output -------------------------------------------------
108104

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def absolute_links(txt):
7878
'sphinxcontrib-napoleon>=0.7',
7979
'sphinx-markdown-tables>=0.0.15',
8080
'sphinx-rtd-theme>=0.5.1',
81-
'recommonmark>=0.7.1',
81+
'myst-parser>=0.16.1',
8282
'nbsphinx>=0.8.2',
8383
'm2r>=0.2.1',
8484
'ipython>=7.21.0',

0 commit comments

Comments
 (0)