Skip to content

Commit dd282b1

Browse files
authored
Merge pull request #51 from simplematter/rst_prolog
Version-dependent rst_prolog
2 parents a0f42e8 + ec1829b commit dd282b1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sphinx_multiversion/main.py

+1
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def main(argv=None):
276276
"name": gitref.name,
277277
"version": current_config.version,
278278
"release": current_config.release,
279+
"rst_prolog": current_config.rst_prolog,
279280
"is_released": bool(
280281
re.match(config.smv_released_pattern, gitref.refname)
281282
),

sphinx_multiversion/sphinx.py

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def config_inited(app, config):
182182
old_config.init_values()
183183
config.version = data["version"]
184184
config.release = data["release"]
185+
config.rst_prolog = data["rst_prolog"]
185186
config.today = old_config.today
186187
if not config.today:
187188
config.today = sphinx_i18n.format_date(

0 commit comments

Comments
 (0)