Skip to content

Commit 89a388b

Browse files
authored
[v0.9.1] Add docs/source/confg.py print (#1187)
### What this PR does / why we need it? Add myst_substitutions print in docs/source/confg.py ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
1 parent 38692b5 commit 89a388b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/source/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# add these directories to sys.path here. If the directory is relative to the
2424
# documentation root, use os.path.abspath to make it absolute, like shown here.
2525
#
26+
import json
2627
import os
2728

2829
# import sys
@@ -133,3 +134,7 @@
133134

134135
def setup(app):
135136
pass
137+
138+
139+
if __name__ == "__main__":
140+
print(json.dumps(myst_substitutions))

0 commit comments

Comments
 (0)