File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 33
33
extensions = [
34
34
'sphinx.ext.autodoc' ,
35
35
'numpydoc' ,
36
- 'm2r2 ' ,
36
+ 'myst_parser ' ,
37
37
'sphinxcontrib.mermaid' ,
38
38
]
39
39
63
63
'.md' : 'markdown' ,
64
64
}
65
65
66
- # Map the markdown files to the m2r2 parser
67
- source_parsers = {
68
- '.md' : 'm2r2.parser.M2RParser' ,
69
- }
70
-
71
-
72
66
# Copy ./examples/results images into documentation so they show up when
73
67
# markdown files with relative paths are transcluded (suggested by ChatGPT-4)
74
68
import os
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ Welcome to elsim's documentation!
10
10
:maxdepth: 2
11
11
:caption: Contents:
12
12
13
- .. mdinclude :: ../README.md
14
-
13
+ .. include :: ../README.md
14
+ :parser: myst_parser.sphinx _
15
15
16
16
17
17
Indices and tables
You can’t perform that action at this time.
0 commit comments