From 81e2dac955ac2cf35a398a80998e8a6d8166a7c6 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 3 Jun 2016 07:19:05 -0700 Subject: [PATCH] Improve documentation build --- doc/_templates/layout.html | 17 ++++++++++------- doc/build.py | 2 +- support/update-website.py | 19 +++++++++++++------ 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 6f331368..9dfd506d 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -80,21 +80,24 @@ {# /.tb-container #} {% if pagename == "index" %} +{% set download_url = 'https://github.com/fmtlib/fmt/releases/download' %}

{fmt}

Small, safe and fast formatting library

+ href="{{download_url}}/{{version}}/fmt-{{version}}.zip"> Download - - {# TODO: update downloads automatically #} +
@@ -111,7 +114,7 @@ {% block content %}
- {# TODO: integrate sidebar + {# Sidebar is currently disabled.