File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- " master"
7
- pull_request :
7
+ pull_request_target :
8
8
branches :
9
9
- " *"
10
10
schedule :
11
11
# Run tests every Sunday at 12am
12
12
- cron : " 0 0 * * 0"
13
13
14
+ permissions :
15
+ contents : read
16
+ checks : write
17
+ pull-requests : write
18
+
14
19
concurrency :
15
20
group : environment-${{ github.ref }}
16
21
cancel-in-progress : true
38
43
strategy :
39
44
fail-fast : false
40
45
matrix :
41
- os : ["ubuntu-latest", "macos-12 "]
46
+ os : ["ubuntu-latest", "macos-latest "]
42
47
python-version : ["3.8", "3.9", "3.10", "3.11"]
43
48
44
49
name : ${{ matrix.os }} with Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 22
22
from distutils .version import LooseVersion
23
23
24
24
import sphinx
25
- from m2r import MdInclude
25
+ from m2r2 import MdInclude
26
26
27
27
sys .path .insert (0 , os .path .abspath ("sphinxext" ))
28
28
sys .path .insert (0 , os .path .abspath (os .path .pardir ))
@@ -214,6 +214,7 @@ def setup(app):
214
214
app .add_config_value ("m2r_parse_relative_links" , False , "env" )
215
215
app .add_config_value ("m2r_anonymous_references" , False , "env" )
216
216
app .add_config_value ("m2r_disable_inline_math" , False , "env" )
217
+ app .add_config_value ("m2r_use_mermaid" , True , "env" )
217
218
app .add_directive ("mdinclude" , MdInclude )
218
219
219
220
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ include_package_data = False
47
47
48
48
[options.extras_require]
49
49
doc =
50
- m2r
50
+ m2r2
51
51
matplotlib
52
- mistune<2 # just temporary until m2r addresses this issue
52
+ mistune
53
53
numpydoc
54
54
pillow
55
55
recommonmark
60
60
sphinx_gallery
61
61
sphinx_rtd_theme
62
62
sphinxcontrib-bibtex
63
+ sphinxcontrib-mermaid
64
+ docutils>=0.18.1,<0.21
63
65
tests =
64
66
codecov
65
67
coverage
You can’t perform that action at this time.
0 commit comments