From 2bf6eb9fe2e7e2acd1ce361dd8276cb8f047f8fe Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 6 Jun 2016 11:37:40 +0100 Subject: docs: Add link to PDF version of docs in sidebar. Requires a link of the form: ///micropython-.pdf --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 6faeb6040..572348c14 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,6 +48,9 @@ html_context = { (ver, url_pattern % (ver, micropy_port)) for ver in micropy_all_versions ], + 'downloads':[ + ('PDF', url_pattern % (micropy_version, 'micropython-%s.pdf' % micropy_port)), + ], } -- cgit v1.2.3