File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 5
5
branches-ignore :
6
6
- " dependabot/**"
7
7
- " pre-commit-ci-update-config"
8
+ paths-ignore :
9
+ - " docs/**"
8
10
pull_request :
11
+ paths-ignore :
12
+ - " docs/**"
9
13
10
14
env :
11
15
FORCE_COLOR : " 1"
Original file line number Diff line number Diff line change 22
22
23
23
target_libzmq = '%i.%i.%i' % bundled_version
24
24
25
- rst_epilog = f"""
26
- .. |target_libzmq| replace:: { target_libzmq }
27
- """
28
-
29
25
# -- General configuration -----------------------------------------------------
30
26
31
27
# Add any Sphinx extension module names here, as strings. They can be extensions
43
39
"colon_fence" ,
44
40
"linkify" ,
45
41
"smartquotes" ,
42
+ "substitution" ,
46
43
]
44
+
47
45
# Add any paths that contain templates here, relative to this directory.
48
46
templates_path = ['_templates' ]
49
47
73
71
import zmq
74
72
75
73
# The short X.Y version.
76
- version = zmq .__version__ .split ('- ' )[0 ]
74
+ version = '.' . join ( zmq .__version__ .split ('. ' )[: 2 ])
77
75
# The full version, including alpha/beta/rc tags.
78
76
release = zmq .__version__
79
77
78
+ myst_substitutions = {
79
+ "version" : version ,
80
+ "release" : release ,
81
+ "target_libzmq" : target_libzmq ,
82
+ }
83
+
80
84
# The language for content autogenerated by Sphinx. Refer to documentation
81
85
# for a list of supported languages.
82
86
# language = None
You can’t perform that action at this time.
0 commit comments