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

pull/960/merge
Damien George 2014-11-04 18:51:29 +00:00
rodzic 8e701604d5
commit 0e3722137f
2 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

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