diff --git a/docs/source/conf.py b/docs/source/conf.py index e0ccd39b..3056bbc4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -126,6 +126,7 @@ datetime.fromisoformat(r.json()["published_at"]).date().strftime("%b %d, %Y") ) release_url = r.json()["html_url"] + release_version = r.json()["tag_name"].strip("v") else: raise Exception(f"Error: HTTP response {r.status_code}") @@ -133,7 +134,7 @@ rst_epilog = f""" .. role:: raw-html(raw) :format: html -.. |release_announcement| replace:: :raw-html:`` +.. |release_announcement| replace:: :raw-html:`` """ today = release_date