docs: Update front page to display date of last update.

This commit is contained in:
Damien George 2014-11-04 18:51:29 +00:00
parent 8e701604d5
commit 0e3722137f
2 changed files with 10 additions and 2 deletions

View File

@ -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.

View File

@ -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>