Skip to content

Commit 0e37221

Browse files
committed
docs: Update front page to display date of last update.
1 parent 8e70160 commit 0e37221

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143

144144
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
145145
# using the given strftime format.
146-
#html_last_updated_fmt = '%b %d, %Y'
146+
html_last_updated_fmt = '%d %b %Y'
147147

148148
# If true, SmartyPants will be used to convert quotes and dashes to
149149
# typographically correct entities.

docs/topindex.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{% extends "defindex.html" %}
2-
{% block tables %}
2+
{% block body %}
3+
4+
<h1>Micro Python documentation</h1>
5+
6+
<p>
7+
{{ _('Welcome! This is the documentation for Micro Python') }}
8+
v{{ release|e }}{% if last_updated %}, {{ _('last updated') }} {{ last_updated|e }}{% endif %}.
9+
</p>
10+
311
<p><strong>Documentation for Micro Python and the pyboard:</strong></p>
412

513
<table class="contentstable"><tr>

0 commit comments

Comments
 (0)