Skip to content

Commit 32d82aa

Browse files
committed
Version-dependent rst_prolog
1 parent 76dba73 commit 32d82aa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sphinx_multiversion/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def main(argv=None):
274274
"name": gitref.name,
275275
"version": current_config.version,
276276
"release": current_config.release,
277+
"rst_prolog": current_config.rst_prolog,
277278
"is_released": bool(
278279
re.match(config.smv_released_pattern, gitref.refname)
279280
),

sphinx_multiversion/sphinx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def config_inited(app, config):
175175
old_config.init_values()
176176
config.version = data["version"]
177177
config.release = data["release"]
178+
config.rst_prolog = data["rst_prolog"]
178179
config.today = old_config.today
179180
if not config.today:
180181
config.today = sphinx_i18n.format_date(

0 commit comments

Comments
 (0)