From 0e3722137f1c2c5f4ee6c24829b1f46e62aedf2e Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Tue, 4 Nov 2014 18:51:29 +0000
Subject: [PATCH] docs: Update front page to display date of last update.

---
 docs/conf.py       |  2 +-
 docs/topindex.html | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 124744d49..16ae41bec 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -143,7 +143,7 @@ html_theme_path = ['.']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%d %b %Y'
 
 # If true, SmartyPants will be used to convert quotes and dashes to
 # typographically correct entities.
diff --git a/docs/topindex.html b/docs/topindex.html
index f0588c46a..fb1e048d4 100644
--- a/docs/topindex.html
+++ b/docs/topindex.html
@@ -1,5 +1,13 @@
 {% extends "defindex.html" %}
-{% block tables %}
+{% block body %}
+
+  <h1>Micro Python documentation</h1>
+
+  <p>
+    {{ _('Welcome! This is the documentation for Micro Python') }}
+    v{{ release|e }}{% if last_updated %}, {{ _('last updated') }} {{ last_updated|e }}{% endif %}.
+  </p>
+
   <p><strong>Documentation for Micro Python and the pyboard:</strong></p>
 
   <table class="contentstable"><tr>
-- 
GitLab