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 55 branches-ignore :
66 - " dependabot/**"
77 - " pre-commit-ci-update-config"
8+ paths-ignore :
9+ - " docs/**"
810 pull_request :
11+ paths-ignore :
12+ - " docs/**"
913
1014env :
1115 FORCE_COLOR : " 1"
Original file line number Diff line number Diff line change 2222
2323target_libzmq = '%i.%i.%i' % bundled_version
2424
25- rst_epilog = f"""
26- .. |target_libzmq| replace:: { target_libzmq }
27- """
28-
2925# -- General configuration -----------------------------------------------------
3026
3127# Add any Sphinx extension module names here, as strings. They can be extensions
4339 "colon_fence" ,
4440 "linkify" ,
4541 "smartquotes" ,
42+ "substitution" ,
4643]
44+
4745# Add any paths that contain templates here, relative to this directory.
4846templates_path = ['_templates' ]
4947
7371import zmq
7472
7573# The short X.Y version.
76- version = zmq .__version__ .split ('- ' )[0 ]
74+ version = '.' . join ( zmq .__version__ .split ('. ' )[: 2 ])
7775# The full version, including alpha/beta/rc tags.
7876release = zmq .__version__
7977
78+ myst_substitutions = {
79+ "version" : version ,
80+ "release" : release ,
81+ "target_libzmq" : target_libzmq ,
82+ }
83+
8084# The language for content autogenerated by Sphinx. Refer to documentation
8185# for a list of supported languages.
8286# language = None
You can’t perform that action at this time.
0 commit comments