From fdc0141fbcabf68ed5d715314d483469e7a7ef14 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 24 Dec 2016 11:48:08 +0100 Subject: [PATCH] doc(index): button to copy install-script --- src/mako/index.html.mako | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/src/mako/index.html.mako b/src/mako/index.html.mako index 7730f9c3a3..3184bd4e23 100644 --- a/src/mako/index.html.mako +++ b/src/mako/index.html.mako @@ -1,7 +1,7 @@ <% import os import yaml - from util import (gen_crate_dir, api_index, crates_io_url, program_name) + from util import (library_name, library_to_crate_name, gen_crate_dir, api_index, crates_io_url, program_name) title = 'Google Service Documentation for Rust' @@ -30,7 +30,34 @@ DO NOT EDIT ! color: #4d76ae; font-size: 20px } +.mono { + font-family: monospace; +} + ${title} @@ -56,6 +83,8 @@ DO NOT EDIT ! ${ad.make.id.upper()} % if program_type == 'api': + % else: + , % endif % if not loop.last: ,