From 3b8dc6b9595a3e2abfbc2d031c09635f28677c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 8 Apr 2010 00:50:57 +0200 Subject: Added changelog --- templates/page.mako | 4 ++-- templates/pages/changelog.mako | 19 +++++++++++++++++++ templates/pages/development.mako | 2 +- templates/pages/download.mako | 3 +++ 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 templates/pages/changelog.mako (limited to 'templates') diff --git a/templates/page.mako b/templates/page.mako index 625a05c..aa2aa51 100644 --- a/templates/page.mako +++ b/templates/page.mako @@ -20,7 +20,7 @@ ${page_text} ## functions -<%def name="h2()"> +<%def name="h2(tag='h2')"> <% if self.attr.uses_toc: c = capture(caller.body) @@ -32,7 +32,7 @@ ${page_text} else: name = "#" %> -

» ${caller.body()}

+ <${tag}>» ${caller.body()} <%def name="toc()"> diff --git a/templates/pages/changelog.mako b/templates/pages/changelog.mako new file mode 100644 index 0000000..188b528 --- /dev/null +++ b/templates/pages/changelog.mako @@ -0,0 +1,19 @@ +<%! + title = "Changelog" + uses_toc = True +%> + +<%inherit file="/page.mako" /> +<%def name="preface()"> +

+ This is a condensed changelog (starting with version 0.8.5) for portato. The complete one can be found in the sources. +

+ +

Note: Releases with a forth version number (e.g. 0.9.0.2) is a bugfix release and therefore not mentioned extra. From 0.10 onwards, the third part is omitted. This means, that now everything with a third number is a bugfix release. +

+ + +% for html, name in h.getChangelogs("/changelogs"): + <%self:h2 tag="h3">${name} + ${html} +% endfor diff --git a/templates/pages/development.mako b/templates/pages/development.mako index 158c84a..4fb44a5 100644 --- a/templates/pages/development.mako +++ b/templates/pages/development.mako @@ -52,7 +52,7 @@ git checkout -b 0.13 origin/0.13 <%self:h2>Documentation

- The code itself is documented (sometimes ^^). If you have questions, you can ask them via portato@necoro.net. + The code itself is documented (sometimes ^^). If you have questions, you can ask them via portato@necoro.net. But at least there is a condensed changelog.

The software itself is not documented in any way. If you like to change this, drop me a mail :). I'd be glad. diff --git a/templates/pages/download.mako b/templates/pages/download.mako index 4a1776f..349c0fc 100644 --- a/templates/pages/download.mako +++ b/templates/pages/download.mako @@ -5,3 +5,6 @@

In most cases, it should be ok to install portato via emerge. But if you want to download it by hand nevertheless, you can do it via sourceforge.net.

+

+ A condensed changelog is available here. +

-- cgit v1.2.3