From becca1a76945b1d2b3ee4c257f19c47b17922a4c Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Mon, 8 Jan 2024 01:26:15 +0000 Subject: [PATCH] Add ``alabaster_version_info`` to template context --- alabaster/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/alabaster/__init__.py b/alabaster/__init__.py index e4d78aa..be37dee 100644 --- a/alabaster/__init__.py +++ b/alabaster/__init__.py @@ -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.