]> source.dussan.org Git - gitblit.git/commitdiff
Doc: Fix change log in built-in docs
authorFlorian Zschocke <florian.zschocke@devolo.de>
Tue, 28 Jan 2020 20:26:12 +0000 (21:26 +0100)
committerFlorian Zschocke <florian.zschocke@devolo.de>
Tue, 28 Jan 2020 20:26:12 +0000 (21:26 +0100)
Use the same templates as in `buildSite` to generate the change log
in the built-in documentation.

build.xml

index 3d47080fe4d88ad46501b51ecc08b2519153020c..85d06e6b34b8889e1e8ee60b5271a3dd4b691dd4 100644 (file)
--- a/build.xml
+++ b/build.xml
                                                <page name="design" src="design.mkd" />\r
                                                <page name="rpc" src="rpc.mkd" />\r
                                        </menu>\r
+\r
                                        <menu name="changelog">\r
-                                               <page name="current release" src="releasecurrent.mkd" />\r
-                                               <page name="older releases" src="releasehistory.mkd" />\r
+                                               <page name="current release" out="releasenotes.html">\r
+                                                       <template src="releasecurrent.ftl" data="${releaselog}" />\r
+                                               </page>\r
+                                               <page name="all releases" out="releases.html">\r
+                                                       <template src="releasehistory.ftl" data="${releaselog}" />\r
+                                               </page>\r
                                        </menu>\r
+\r
                                        <menu name="links">\r
                                                <link name="dev.gitblit.com (self-hosted)" src="https://dev.gitblit.com" />\r
                                                <divider />\r