aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tyrian_sphinx_theme/__init__.py')
-rw-r--r--tyrian_sphinx_theme/__init__.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tyrian_sphinx_theme/__init__.py b/tyrian_sphinx_theme/__init__.py
index 5304f18..2102bb4 100644
--- a/tyrian_sphinx_theme/__init__.py
+++ b/tyrian_sphinx_theme/__init__.py
@@ -1,6 +1,8 @@
import os
-from tyrian_sphinx_theme import _version as version
+
+__version__ = "0.0.8"
+
def get_path():
"""
@@ -11,7 +13,7 @@ def get_path():
def update_context(app, pagename, templatename, context, doctree):
- context["tyrian_version"] = version.__version__
+ context["tyrian_version"] = __version__
def setup(app):
@@ -20,4 +22,4 @@ def setup(app):
theme_path = os.path.abspath(os.path.dirname(__file__))
app.add_html_theme("tyrian_sphinx_theme", theme_path)
app.connect("html-page-context", update_context)
- return {"version": version.__version__, "parallel_read_safe": True} \ No newline at end of file
+ return {"version": __version__, "parallel_read_safe": True}