Skip to content

Commit becca1a

Browse files
committed
Add alabaster_version_info to template context
1 parent a28affe commit becca1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alabaster/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def get_path():
1414

1515
def update_context(app, pagename, templatename, context, doctree):
1616
context["alabaster_version"] = __version__
17+
context["alabaster_version_info"] = __version_info__
1718

1819
# Convert 'show_powered_by' in the theme options to
1920
# the preferred option, html_show_sphinx.

0 commit comments

Comments
 (0)