Skip to content

Commit

Permalink
Add alabaster_version_info to template context
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jan 8, 2024
1 parent a28affe commit becca1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alabaster/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def get_path():

def update_context(app, pagename, templatename, context, doctree):
context["alabaster_version"] = __version__
context["alabaster_version_info"] = __version_info__

# Convert 'show_powered_by' in the theme options to
# the preferred option, html_show_sphinx.
Expand Down

0 comments on commit becca1a

Please sign in to comment.