diff --git a/docs/README.md b/docs/README.md
index b4c538f..c53e1ce 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -10,6 +10,6 @@ https://instaloader.readthedocs.io/
The documentation is created with [Sphinx](http://www.sphinx-doc.org/). To build it, use
```
-pip3 install sphinx sphinx-autodoc-typehints
+pip3 install -r requirements.txt
make html
```
diff --git a/docs/_templates/links.html b/docs/_templates/links.html
index 77ac94e..3e30f08 100644
--- a/docs/_templates/links.html
+++ b/docs/_templates/links.html
@@ -4,6 +4,11 @@
{{ next.title }}
{% endif %}
+Current Release
+
Links
- Issue Tracker
diff --git a/docs/conf.py b/docs/conf.py
index ed3ca46..edbd7b6 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,6 +19,9 @@
#
import os
import sys
+import re
+import requests
+from datetime import datetime
sys.path.insert(0, os.path.abspath('..'))
# -- General configuration ------------------------------------------------
@@ -352,3 +355,15 @@ texinfo_documents = [
# If true, do not generate a @detailmenu in the "Top" node's menu.
#
# texinfo_no_detailmenu = False
+
+
+def get_latest_tag(repo):
+ tags = requests.get("https://api.github.com/repos/{}/git/refs/tags".format(repo)).json()
+ latest_tag = requests.get(tags[-1]['object']['url']).json()
+ version_string = latest_tag['tag']
+ version_date = datetime.strptime(latest_tag['tagger']['date'], "%Y-%m-%dT%H:%M:%SZ")
+ return version_string[1:], re.sub(r'\b0+(\d)', r'\1', "{:%d %b %Y}".format(version_date))
+
+current_release, current_release_date = get_latest_tag('Thammus/instaloader')
+
+html_context = {'current_release': current_release, 'current_release_date': current_release_date}
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 1fc9d86..914f619 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1 +1,3 @@
+requests
+sphinx
sphinx-autodoc-typehints