From 732bb213ca66bc2e0134d99f4469da4b1840b661 Mon Sep 17 00:00:00 2001 From: shimizukawa Date: Thu, 15 Dec 2016 21:53:13 +0900 Subject: [PATCH] add link to Changes in toppage --- doc/_templates/index.html | 36 +++++++++++++++++++++----------- doc/_templates/indexsidebar.html | 4 ++-- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/doc/_templates/index.html b/doc/_templates/index.html index 755a79122..b4bdb5985 100644 --- a/doc/_templates/index.html +++ b/doc/_templates/index.html @@ -46,18 +46,30 @@

{%trans%}Documentation{%endtrans%}

- - +
- - - - {%- if hasdoc('search') %}{%- endif %} - {%- if hasdoc('genindex') %}{%- endif %} -
+ + + + + + +
+ + + {%- if hasdoc('search') %}{%- endif %} +
+ + + {%- if hasdoc('genindex') %}{%- endif %} +
+ + +

{%trans%} diff --git a/doc/_templates/indexsidebar.html b/doc/_templates/indexsidebar.html index b6f12f031..bfa0139cb 100644 --- a/doc/_templates/indexsidebar.html +++ b/doc/_templates/indexsidebar.html @@ -4,14 +4,14 @@

Download

{% if version.endswith('a0') %} -

{%trans%}This documentation is for version {{ version }}, which is +

{%trans%}This documentation is for version {{ version }}, which is not released yet.{%endtrans%}

{%trans%}You can use it from the Git repo or look for released versions in the Python Package Index.{%endtrans%}

{% else %} -

{%trans%}Current version: {{ version }}{%endtrans%}

+

{%trans%}Current version: {{ version }}{%endtrans%}

{%trans%}Get Sphinx from the Python Package Index, or install it with:{%endtrans%}

pip install -U Sphinx